Skip to content

Commit

Permalink
Limit parser recursion depth further (needed by increased assembly da…
Browse files Browse the repository at this point in the history
…ta structure size)
  • Loading branch information
axic authored and chriseth committed Sep 20, 2017
1 parent 3b813ed commit 6948758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsolidity/parsing/ParserBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void ParserBase::expectToken(Token::Value _value)
void ParserBase::increaseRecursionDepth()
{
m_recursionDepth++;
if (m_recursionDepth >= 3000)
if (m_recursionDepth >= 2560)
fatalParserError("Maximum recursion depth reached during parsing.");
}

Expand Down

0 comments on commit 6948758

Please sign in to comment.