mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Always ensure XDR'd scripts have a shape, bug 649103.
This commit is contained in:
parent
be364cb797
commit
6c6b5d6f3a
@ -452,12 +452,12 @@ js_XDRScript(JSXDRState *xdr, JSScript **scriptp)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (xdr->mode == JSXDR_DECODE) {
|
||||
if (!bindings.ensureShape(cx))
|
||||
return false;
|
||||
bindings.makeImmutable();
|
||||
}
|
||||
if (xdr->mode == JSXDR_DECODE) {
|
||||
if (!bindings.ensureShape(cx))
|
||||
return false;
|
||||
bindings.makeImmutable();
|
||||
}
|
||||
|
||||
if (xdr->mode == JSXDR_ENCODE)
|
||||
|
Loading…
Reference in New Issue
Block a user