mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 701662 - Serialize filenames in JS_XDRFunctionObject, r=igor
This commit is contained in:
parent
a1d31dd8dd
commit
37d2a6827a
@ -695,6 +695,9 @@ JS_XDRFunctionObject(JSXDRState *xdr, JSObject **objp)
|
||||
fstate.filename = fun->script()->filename;
|
||||
}
|
||||
|
||||
if (!JS_XDRCStringOrNull(xdr, (char **) &fstate.filename))
|
||||
return false;
|
||||
|
||||
return js_XDRFunctionObject(xdr, objp);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user