Closed
Bug 504170
Opened 15 years ago
Closed 15 years ago
nsAStreamCopier::Process can use sourceCondition, sinkCondition uninitialized if someone cancels the copy early
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
Coverity is complaining that this code temporarily uses sourceCondition, sinkCondition uninitialized.
It's true, but the usage is local, and an optimizer could probably reach the same conclusion as my patch and do it automatically, but i'd rather not rely on that optimizer.
Attachment #388544 -
Flags: review?(doug.turner)
Updated•15 years ago
|
Attachment #388544 -
Flags: review?(doug.turner) → review?(jduell.mcbugs)
Comment 2•15 years ago
|
||
Comment on attachment 388544 [details] [diff] [review]
fix warning
This looks fine to me. It's a really small change--do we even need sr?
Attachment #388544 -
Flags: review?(jduell.mcbugs) → review+
Comment 3•15 years ago
|
||
No SR needed.
Attachment #388544 -
Attachment is obsolete: true
Attachment #393756 -
Flags: review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•