Closed
Bug 15740
Opened 25 years ago
Closed 25 years ago
ReadWriteProc needs to check return value from PB[Read|Write]Async
Categories
(NSPR :: NSPR, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sfraser_bugs, Assigned: sdagley)
References
Details
ReadWriteProc makes calls to PBReadAsync and PBWriteAsync, but throws away
the return values:
(void) PBReadAsync(&pbAsync.pb);
and
(void) PBWriteAsync(&pbAsync.pb);
This is bad, because if these routines fail right away (e.g. attempt to write
to locked file), then we'll go off into threading land and never return.
We have to check those return values.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M11
Assignee | ||
Comment 1•25 years ago
|
||
Will fix this one once the 3.5 branch lands (expected in the next week or so)
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•25 years ago
|
||
Fix checked in. Since this is a case of fixing a potential problem without an
example of the potential problem biting us yet I don't know of a way for QA to
verify this. "Trust me" said the man with the glowing eyes.
Updated•24 years ago
|
Target Milestone: M11 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•