Bug 589329 - fix crash in JSData2Native (r=jst) (CLOSED TREE)

This commit is contained in:
Luke Wagner 2010-08-30 18:21:34 -07:00
parent 6c846a6605
commit e949d56946

View File

@ -636,7 +636,7 @@ XPCConvert::JSData2Native(XPCCallContext& ccx, void* d, jsval s,
return JS_FALSE;
*((jsval**)d) = buf;
} else {
**((jsval**)d) = s;
*((jsval*)d) = s;
}
break;
}