Closed
Bug 336966
Opened 19 years ago
Closed 19 years ago
Useless null check of shell in nsXIEngine::DeleteXPIs
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: sciguyryan)
References
()
Details
(Keywords: coverity)
Attachments
(1 file)
|
903 bytes,
patch
|
ajschult784
:
review+
|
Details | Diff | Splinter Review |
the caller that matters is careful:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/installer/unix/wizard/nsInstallDlg.cpp&rev=1.3&mark=598-602,650#597
since this is a fairly internal function there's no point in including the null check.
| Assignee | ||
Comment 1•19 years ago
|
||
First try at a patch, removing the null check |if (!aComps || !mOriginalDir)| and its return.
Attachment #239396 -
Flags: review?(benjamin)
Updated•19 years ago
|
Assignee: xpi-engine → sciguyryan+bugzilla
Comment 2•19 years ago
|
||
Comment on attachment 239396 [details] [diff] [review]
Patch v1
Since only seamonkey uses the linux installer (and I think even that's moving away), I'm not reviewing patches for that any more. Let's try CTho.
Attachment #239396 -
Flags: review?(benjamin) → review?(cst)
Comment on attachment 239396 [details] [diff] [review]
Patch v1
Sorry, I don't build on platforms that use this file, and I wouldn't know how to test that it doesn't break anything either.
Attachment #239396 -
Flags: review?(cst) → review?(ajschult)
Updated•19 years ago
|
Attachment #239396 -
Flags: review?(ajschult) → review+
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•