summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_unittest.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 07:47:23 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 07:47:23 +0000
commit6b7a13eef79fffe763d86ebbee9d5fc4839fc86d (patch)
treeeefceb5b14076f1c4b2f29c254ceb01f8ac100ac /chrome/common/extensions/extension_unittest.cc
parent40b33fb012924073b0c0786d8f75905d47d2cd0f (diff)
downloadchromium_src-6b7a13eef79fffe763d86ebbee9d5fc4839fc86d.zip
chromium_src-6b7a13eef79fffe763d86ebbee9d5fc4839fc86d.tar.gz
chromium_src-6b7a13eef79fffe763d86ebbee9d5fc4839fc86d.tar.bz2
Fixes a crash in the plugin process caused by the XStandard plugin passing in a NULL NPObject to NPN_HasMethod. I checked out Firefox's implementation and they check for NULL NPObjects in all functions except NPN_Evaluate and NPN_SetException.
Fix is to emulate Firefox behavior. Fixes http://code.google.com/p/chromium/issues/detail?id=16900 Bug=16900 Review URL: http://codereview.chromium.org/155628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_unittest.cc')
0 files changed, 0 insertions, 0 deletions