-
alp@webkit.org authored
Reviewed by Cameron Zwarich. https://bugs.webkit.org/show_bug.cgi?id=22067 [GTK] Sun Java plugin segfaults at PluginPackage::createPackage() null-check symbols loaded from plugin modules, initialize the function table (like Win already does) and update it with the latest additions. Adjust whitespace for easy diff'ing with the Win port code from which it was forked. This fixes crashes with libnspr4.so and any other plugins that don't provide the symbols we expect. * plugins/gtk/PluginPackageGtk.cpp: (WebCore::PluginPackage::fetchInfo): (WebCore::PluginPackage::load): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a8a7ebd3