Closed Bug 532671 Opened 15 years ago Closed 15 years ago

After a plugin crashes, calls on that plugin instance should fail gracefully

Categories

(Core Graveyard :: Plug-ins, defect)

Other Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(2 files)

When a plugin crashes, ~PluginInstanceParent is called but NPP->pdata isn't cleared, so the plugin host continues to call NPP functions with a now-bogus pointer. Easy to fix by nulling out NPP->pdata when the plugin crashes and doing null-checks in the appropriate entry points.
Attachment #415869 - Flags: review?(bent.mozilla)
This is the same basic idea, this time for PluginModuleParent.
Attachment #415903 - Flags: review?(bent.mozilla)
Attachment #415903 - Flags: review?(bent.mozilla) → review+
Attachment #415869 - Flags: review?(bent.mozilla) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Version: unspecified → Other Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: