Red Hat Bugzilla – Bug 108758
uninitialized sigev_value in tst-timer.c
Last modified: 2016-11-24 09:53:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
In nptl/sysdeps/pthread/tst-timer.c there is no value set for
sigev2.sigev_value, yet that member is used by
nptl/sysdeps/pthread/timer_routines.c line 353:
when executing testcase rt/tst-timer .
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run testcase build-i686-linuxnptl/rt/tst-timer .
Actual Results: sigev2.sigev_value is used but was never initialized.
Expected Results: All members are initialized before they are used.
The same problem occurs in linuxthreads/sysdeps/pthread/tst-timer.c
Created attachment 95642 [details]
patch for nptl/sysdeps/pthread/tst-timer.c
This is fixed in CVS. Thanks.