Skip to content

Commit 242c59e

Browse files
boingoingwyrichte
authored andcommitted
[CVE-2019-1131] Chakra Type confusion
1 parent bf52b6c commit 242c59e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/Parser/Parse.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4664,10 +4664,7 @@ ParseNodePtr Parser::ParseMemberList(LPCOLESTR pNameHint, uint32* pNameHintLengt
46644664
}
46654665
}
46664666

4667-
if (buildAST)
4668-
{
4669-
CheckArgumentsUse(pidHint, GetCurrentFunctionNode());
4670-
}
4667+
CheckArgumentsUse(pidHint, GetCurrentFunctionNode());
46714668

46724669
bool couldBeObjectPattern = !isObjectPattern && m_token.tk == tkAsg;
46734670
// Saving the current state as we may change the isObjectPattern down below.

0 commit comments

Comments
 (0)