Closed
Bug 333701
Opened 19 years ago
Closed 17 years ago
Hopefully useless null check in nsPluginStreamListenerPeer::Initialize
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta3
People
(Reporter: timeless, Assigned: ispiked)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity)
Attachments
(1 file, 1 obsolete file)
1.18 KB,
patch
|
Biesinger
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
The main codepath unconditionally dereferences aURL, the debug path which coverity considered today conditionally dereferenecs which caused coverity to warn about the unconditional deref.
if this was a real crash, we'd have heard about it, let's remove the null check :).
Assignee | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Comment on attachment 222147 [details] [diff] [review]
patch
this will fail to compile if PLUGIN_LOGGING is defined, no?
Attachment #222147 -
Flags: review-
Assignee | ||
Comment 3•19 years ago
|
||
Yes, you're right. (I should really test things before submitting them.) I don't know if this will stop coverity from complaining... it might.
Attachment #222147 -
Attachment is obsolete: true
Updated•19 years ago
|
Assignee: darin → nobody
Comment 4•17 years ago
|
||
ispiked, I noticed that you haven't requested a review on your patch yet.
Comment 5•17 years ago
|
||
Comment on attachment 222222 [details] [diff] [review]
patch v2
This never had r? set on it. Per ispiked on IRC, requesting review from biesi.
Attachment #222222 -
Flags: review?(cbiesinger)
Comment 6•17 years ago
|
||
Comment on attachment 222222 [details] [diff] [review]
patch v2
the additional line of context showing the unconditional NS_ADDREF would've been nice
Attachment #222222 -
Flags: review?(cbiesinger) → review+
Comment 7•17 years ago
|
||
Comment on attachment 222222 [details] [diff] [review]
patch v2
Simple fix for an issue raised by coverity.
Attachment #222222 -
Flags: approval1.9?
Updated•17 years ago
|
Assignee: nobody → ispiked
Comment 8•17 years ago
|
||
Comment on attachment 222222 [details] [diff] [review]
patch v2
a=beltzner for 1.9
Attachment #222222 -
Flags: approval1.9? → approval1.9+
Updated•17 years ago
|
Keywords: checkin-needed
Comment 9•17 years ago
|
||
Checking in modules/plugin/base/src/nsPluginHostImpl.cpp;
/cvsroot/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp,v <-- nsPluginHostImpl.cpp
new revision: 1.593; previous revision: 1.592
done
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M11
Updated•6 years ago
|
Blocks: coverity-analysis
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•