Closed
Bug 333303
Opened 19 years ago
Closed 19 years ago
useless null check of fd in nsComponentManagerImpl::WritePersistentRegistry
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: asqueella)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity)
Attachments
(1 file)
(deleted),
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
found by coverity
this is my fault, i was being too careful in rev 1.213
fd can't be null because if fd becomes null in 1303, the code takes the path in 1304-1305. any path after that point leaves fd non null so it should be cleaned up unconditionally.
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 1•19 years ago
|
||
Attachment #217744 -
Flags: superreview?(darin)
Attachment #217744 -
Flags: review?(timeless)
Attachment #217744 -
Flags: review+
Comment 2•19 years ago
|
||
wasn't this patch included in that other patch?
Assignee | ||
Comment 3•19 years ago
|
||
Oops. I could have sworn I removed it from that patch.
Assignee | ||
Updated•19 years ago
|
Attachment #217744 -
Flags: superreview?(darin)
Assignee | ||
Comment 4•19 years ago
|
||
This was checked in as part of patch on bug 333307, then.
Status: ASSIGNED → RESOLVED
Closed: 19 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
•