Closed Bug 178985 Opened 23 years ago Closed 23 years ago

Mach-O builds should only allow scripting for plugins compiled for Mach-O

Categories

(Core Graveyard :: Plug-ins, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 167178

People

(Reporter: peterlubczynski-bugs, Assigned: peterl-bugs)

Details

Attachments

(1 file)

Currently, we don't check the plugin architecture before trying to script an NPAPI plugin. That is bad because we'll crash if the ABI doesn't match. For details, see: http://warp.mcom.com/u/peterlubczynski/Gecko_Plugin_Technote__CFM_plugins_are_not_scriptable_under_Mach-O_built_browsers.html
Attached patch patch v.1Splinter Review
This patch adds the ability to disable scripting for NPAPI plugins by adding a NS_PLUGIN_FLAG_DISABLE_SCRIPTING flag to nsPluginTag and sets this flag when we check the executable format when starting the plugin in |GetPluginFactory|.
Blocks: 179139
Blocks: 167178
duping against older bug 167178 which now has another patch. *** This bug has been marked as a duplicate of 167178 ***
No longer blocks: 167178, 179139
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
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: