Summary: | pselect sycallwrapper mishandles NULL sigmask | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ivosh |
Priority: | NOR | ||
Version: | 3.11 SVN | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://bugzilla.redhat.com/show_bug.cgi?id=1344082 | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Proposed testcase and fix |
Description
Mark Wielaard
2016-06-17 09:09:16 UTC
Created attachment 99546 [details] Proposed testcase and fix When the last argument ss == NULL don't check whether it is valid and don't try to copy the sigmask (which would crash because it is NULL), just pass through the NULL sigmask to the kernel. Testcase provided by Paul Eggert in the original bug report https://bugzilla.redhat.com/show_bug.cgi?id=1344082 valgrind svn 15893 I made a typo which caused: ...checking makefile consistency none/tests/Makefile.am:1: error: pselect_sigmask_null.vgtest is missing in EXTRA_DIST none/tests/Makefile.am:1: error: pselect_signask_null.vgtest is in EXTRA_DIST but doesn't exist Fixed with valgrind svn r15894 Bug 364413 followup - fix signask -> sigmask typo in EXTRA_DIST Test executable ignored in SVN r15904. |