https://bugs.kde.org/show_bug.cgi?id=414565
Bug ID: 414565
Summary: Specific use case bug found in SysRes
VG_(do_sys_sigprocmask)
Product: valgrind
Version: unspecified
Platform: unspecified
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 124137
--> https://bugs.kde.org/attachment.cgi?id=124137&action=edit
Suggested patch
Specific use case bug found in SysRes VG_(do_sys_sigprocmask)
coregrind/m_signals.c
Fix for case when ,,set,, parameter is NULL.
In this case ,,how,, parameter should be ignored because we are only requesting
from kernel to put current signal mask into ,,oldset,,.
But instead we determine the action based on ,,how,, parameter and therefore
make the system call fail when it should pass.
Taken from linux man pages (sigprocmask).
Suggested patch provided in attachment.
--
You are receiving this mail because:
You are watching all bug changes.