Closed
Bug 533030
Opened 15 years ago
Closed 15 years ago
nsPluginHost::TrySetUpPluginInstance() can return with the plugin instance owner holding a non initialized instance.
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(blocking1.9.2 .2+, status1.9.2 .2-fixed, blocking1.9.1 .9+, status1.9.1 .9-fixed)
People
(Reporter: jst, Assigned: jaas)
References
Details
Attachments
(2 files)
1.65 KB,
patch
|
jst
:
review+
beltzner
:
approval1.9.2.2+
|
Details | Diff | Splinter Review |
1.41 KB,
patch
|
jaas
:
review+
beltzner
:
approval1.9.1.9+
|
Details | Diff | Splinter Review |
nsPluginHost::TrySetUpPluginInstance() right now contains the pseudo code: instance = CreateInstance() aOwner->SetInstance(instance) instance->Initialize() if (failed) return which returns out of this code with the owner holding on to a plugin instance that was not successfully initialized. Depending on what happens next, this can cause problems down the road, especially if plugins are reloaded before the instance owner tries to tear down this instance. We should at the very least null out the instance in the owner when we fail to initialize the plugin instance here.
Attachment #416814 -
Flags: review?(jst)
Reporter | ||
Updated•15 years ago
|
Attachment #416814 -
Flags: review?(jst) → review+
pushed to mozilla-central http://hg.mozilla.org/mozilla-central/rev/6515875bfbc3
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•14 years ago
|
||
We should take this fix for 1.9.2 since this fixes bug 491722.
status1.9.2:
--- → ?
Reporter | ||
Updated•14 years ago
|
Attachment #416814 -
Flags: approval1.9.2.2?
Reporter | ||
Comment 4•14 years ago
|
||
Attachment #425856 -
Flags: review?(joshmoz)
Attachment #425856 -
Flags: review?(joshmoz) → review+
Reporter | ||
Updated•14 years ago
|
blocking1.9.2: --- → ?
status1.9.2:
? → ---
Updated•14 years ago
|
blocking1.9.2: ? → .2+
Comment 5•14 years ago
|
||
Comment on attachment 416814 [details] [diff] [review] fix v1.0 a1922=beltzner
Attachment #416814 -
Flags: approval1.9.2.2? → approval1.9.2.2+
pushed to mozilla-1.9.2 http://hg.mozilla.org/releases/mozilla-1.9.2/rev/ecfa2e50f8d8
status1.9.2:
--- → .2-fixed
Comment 7•14 years ago
|
||
Josh, is that 1.9.1 patch ready to go? We need it to fix the blocker bug 491722.
blocking1.9.1: --- → .9+
Updated•14 years ago
|
status1.9.1:
--- → wanted
Comment 8•14 years ago
|
||
Comment on attachment 425856 [details] [diff] [review] Fix for 1.9.1 Actually, just a=beltzner for 1.9.1 on this patch. It's reviewed and all :)
Attachment #425856 -
Flags: approval1.9.1.9+
Updated•14 years ago
|
Whiteboard: [needs 1.9.1. landing]
Reporter | ||
Comment 9•14 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/2dd98f3f4d86
Comment 10•14 years ago
|
||
Is there a way for QA to verify this fix?
Updated•14 years ago
|
Whiteboard: [needs 1.9.1. landing]
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
•