Closed
Bug 50386
Opened 24 years ago
Closed 24 years ago
PR_Sleep() may return uninitialized variable.
Categories
(NSPR :: NSPR, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
4.1
People
(Reporter: wtc, Assigned: wtc)
Details
Attachments
(1 file)
939 bytes,
text/plain
|
Details |
In the pthreads version of PR_Sleep() (ptthread.c), the local variable 'rv' may be returned uninitialized. The fix is to initialize 'rv' to PR_SUCCESS.
Assignee | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
This bug is reported by Fred Batty of iPlanet. I checked in the bug on the main trunk. /cvsroot/mozilla/nsprpub/pr/src/pthreads/ptthread.c, revision: 3.40
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.1
You need to log in
before you can comment on or make changes to this bug.
Description
•