mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 382631 Creating proxy of "this" in JavaScript using nsProxyObjectManager::GetProxyForObject causes random memory rewrite r=dougt a=beltzner
This commit is contained in:
parent
4b6b2486dd
commit
553785418f
@ -154,7 +154,8 @@ nsProxyEventObject::convertMiniVariantToVariant(const XPTMethodDescriptor *metho
|
||||
for (int i = 0; i < paramCount; i++)
|
||||
{
|
||||
const nsXPTParamInfo& paramInfo = methodInfo->params[i];
|
||||
if ((GetProxyType() & NS_PROXY_ASYNC) && paramInfo.IsDipper())
|
||||
if ((GetProxyType() & NS_PROXY_ASYNC) &&
|
||||
(paramInfo.IsOut() || paramInfo.IsDipper()))
|
||||
{
|
||||
NS_WARNING("Async proxying of out parameters is not supported");
|
||||
free(*fullParam);
|
||||
|
Loading…
Reference in New Issue
Block a user