Closed
Bug 336993
Opened 18 years ago
Closed 14 years ago
crash [@ main] "path" Pointer dereferenced before NULL check
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 387450
People
(Reporter: timeless, Assigned: timeless)
References
()
Details
(Keywords: coverity, crash)
Crash Data
Attachments
(1 file)
2.32 KB,
patch
|
dveditz
:
review-
|
Details | Diff | Splinter Review |
There's also an oom crash floating around here, but most importantly the rv from ParseURL wasn't checked, so path wasn't ensured, once it's checked, the later null check on path is useless.
Assignee: xpi-engine → timeless
Status: NEW → ASSIGNED
Attachment #221199 -
Flags: superreview?(dveditz)
Attachment #221199 -
Flags: review?(dveditz)
Comment 2•18 years ago
|
||
Comment on attachment 221199 [details] [diff] [review] deal w/ oom >+ if (NS_FAILED(rv)) Don't use NS_FAILED -- these are a different set of enum status values, not nsresults. Should be if (rv != nsHTTPConn::OK); In case someone later adds a positive failure code. ditto later.
Attachment #221199 -
Flags: superreview?(dveditz)
Attachment #221199 -
Flags: review?(dveditz)
Attachment #221199 -
Flags: review-
Updated•15 years ago
|
QA Contact: xpi-engine
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
Crash Signature: [@ main]
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•