diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-19 19:03:45 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-09-20 17:16:23 +0800 |
commit | 6948758156ba31b22fb74a3cd3e7cec0b925208b (patch) | |
tree | a90fc084482aca877539d1dd1c386897d54489a3 /libsolidity | |
parent | 3b813ed29569dde02b965c97c9fdd60469876f66 (diff) | |
download | dexon-solidity-6948758156ba31b22fb74a3cd3e7cec0b925208b.tar.gz dexon-solidity-6948758156ba31b22fb74a3cd3e7cec0b925208b.tar.zst dexon-solidity-6948758156ba31b22fb74a3cd3e7cec0b925208b.zip |
Limit parser recursion depth further (needed by increased assembly data structure size)
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/parsing/ParserBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/ParserBase.cpp b/libsolidity/parsing/ParserBase.cpp index fe95b0fe..5b83c5bd 100644 --- a/libsolidity/parsing/ParserBase.cpp +++ b/libsolidity/parsing/ParserBase.cpp @@ -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."); } |