зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 531290 (Firefox 3.6b4 [@ PL_strlen | nsNPAPIPluginInstance::Initialize(nsIPluginInstanceOwner*, char const*) ] during npietab.dll initialization [@nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) | xul.dll@0x9cc3c3 ]). r=josh, a=blocking1.9.2+.
This commit is contained in:
Родитель
68811d1d7f
Коммит
284cdb995e
|
@ -2065,9 +2065,17 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
|
|||
|
||||
return NPERR_GENERIC_ERROR;
|
||||
}
|
||||
#else
|
||||
case NPNVDOMElement:
|
||||
// fall through
|
||||
case NPNVDOMWindow:
|
||||
// fall through
|
||||
#endif /* WINCE */
|
||||
|
||||
case NPNVserviceManager: // old XPCOM object, no longer supported
|
||||
case NPNVserviceManager:
|
||||
// old XPCOM objects, no longer supported, but null out the out
|
||||
// param to avoid crashing plugins that still try to use this.
|
||||
*(nsISupports**)result = nsnull;
|
||||
// fall through
|
||||
default:
|
||||
return NPERR_GENERIC_ERROR;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче