mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 552905 - JS_DefineUCFunction seems to be missing a CHECK_REQUEST. r=jorendorff.
This commit is contained in:
parent
60d5805e46
commit
11d3079664
@ -4427,6 +4427,7 @@ JS_DefineUCFunction(JSContext *cx, JSObject *obj,
|
||||
{
|
||||
JSAtom *atom;
|
||||
|
||||
CHECK_REQUEST(cx);
|
||||
atom = js_AtomizeChars(cx, name, AUTO_NAMELEN(name, namelen), 0);
|
||||
if (!atom)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user