Skip to content

Commit

Permalink
[CVE-2019-1131] Chakra Type confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
boingoing authored and wyrichte committed Aug 13, 2019
1 parent bf52b6c commit 242c59e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Parser/Parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4664,10 +4664,7 @@ ParseNodePtr Parser::ParseMemberList(LPCOLESTR pNameHint, uint32* pNameHintLengt
}
}

if (buildAST)
{
CheckArgumentsUse(pidHint, GetCurrentFunctionNode());
}
CheckArgumentsUse(pidHint, GetCurrentFunctionNode());

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

0 comments on commit 242c59e

Please sign in to comment.