Red Hat Bugzilla – Bug 103308
uninitialized sigset_t used in tst-cancel4.c
Last modified: 2007-11-30 17:06:57 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529
Description of problem:
nptl/tst-cancel4.c forgot "sigemptyset(&mask);" after declaration and before
calling sigaddset(&mask, SIGUSR1); Because of this, the value after sigaddset()
is undefined, which makes the test results invalid.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Inspect nptl/tst-cancel4.c for calls to sigaddset immediately after
declaration of the sigset_t.
Actual Results: Lines 779, 822, 866 contain calls to sigaddset immediately
after declaration, without any call to sigemptyset.
Expected Results: No such calls.
Fix committed to CVS.
And should be in glibc-2.3.2-79 and later as well.