mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 399090: proper check for duplicated parameter names in xdr decoder. r=brendan,mrbkap a=brendan aM9=beltzner
This commit is contained in:
parent
a69e97ef2b
commit
7432749720
@ -1403,7 +1403,8 @@ fun_xdrObject(JSXDRState *xdr, JSObject **objp)
|
||||
|
||||
/* Flag duplicate argument if atom is bound in fun->object. */
|
||||
dupflag = SCOPE_GET_PROPERTY(OBJ_SCOPE(fun->object),
|
||||
ATOM_TO_JSID(propAtom))
|
||||
JSID_HIDE_NAME(
|
||||
ATOM_TO_JSID(propAtom)))
|
||||
? SPROP_IS_DUPLICATE
|
||||
: 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user