Commit 089de61a authored by andersca@apple.com's avatar andersca@apple.com
Browse files

2008-10-15 Kenneth Russell <kenneth.russell@sun.com>

        Reviewed and landed by Anders Carlsson.

        https://bugs.webkit.org/show_bug.cgi?id=21572
        
        Initialize pluginFunc.size to the correct size before calling NP_GetEntryPoints.
        
        * Plugins/WebNetscapePluginPackage.m:
        (-[WebNetscapePluginPackage load]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 44da9185
2008-10-15 Kenneth Russell <kenneth.russell@sun.com>
Reviewed and landed by Anders Carlsson.
https://bugs.webkit.org/show_bug.cgi?id=21572
Initialize pluginFunc.size to the correct size before calling NP_GetEntryPoints.
* Plugins/WebNetscapePluginPackage.m:
(-[WebNetscapePluginPackage load]):
2008-10-15 Mark Rowe <mrowe@apple.com>
Reviewed by Dan Bernstein.
......
......@@ -569,6 +569,8 @@ - (BOOL)load
#endif
LOG(Plugins, "%f NP_Initialize took %f seconds", currentTime, duration);
pluginFuncs.size = sizeof(NPPluginFuncs);
npErr = NP_GetEntryPoints(&pluginFuncs);
if (npErr != NPERR_NO_ERROR)
goto abort;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment