mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 469995 - js_DecompileValueGenerator uses cx->fp and should be made safe, r=crowder+jorendorff
This commit is contained in:
parent
954913ca57
commit
252eab1177
@ -4945,8 +4945,7 @@ js_DecompileValueGenerator(JSContext *cx, intN spindex, jsval v,
|
|||||||
spindex == JSDVG_IGNORE_STACK ||
|
spindex == JSDVG_IGNORE_STACK ||
|
||||||
spindex == JSDVG_SEARCH_STACK);
|
spindex == JSDVG_SEARCH_STACK);
|
||||||
|
|
||||||
for (fp = cx->fp; fp && !fp->script; fp = fp->down)
|
fp = js_GetScriptedCaller(cx, NULL);
|
||||||
continue;
|
|
||||||
if (!fp || !fp->regs || !fp->regs->sp)
|
if (!fp || !fp->regs || !fp->regs->sp)
|
||||||
goto do_fallback;
|
goto do_fallback;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user