diff options
author | chriseth <chris@ethereum.org> | 2017-06-06 22:41:49 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-08 21:52:45 +0800 |
commit | 893e6f4ec2dff8aeca4fa3b99a265f291428deac (patch) | |
tree | c602cc70b3240c58151eceb5b77ae4a5c72edb0a /libjulia/backends/evm | |
parent | ef3d5874fefa6a86a30d4afdcfd269d599edda5d (diff) | |
download | dexon-solidity-893e6f4ec2dff8aeca4fa3b99a265f291428deac.tar.gz dexon-solidity-893e6f4ec2dff8aeca4fa3b99a265f291428deac.tar.zst dexon-solidity-893e6f4ec2dff8aeca4fa3b99a265f291428deac.zip |
Missing stack height check for variable declaration.
Diffstat (limited to 'libjulia/backends/evm')
-rw-r--r-- | libjulia/backends/evm/EVMCodeTransform.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libjulia/backends/evm/EVMCodeTransform.cpp b/libjulia/backends/evm/EVMCodeTransform.cpp index 6c66eaaa..cd6fd276 100644 --- a/libjulia/backends/evm/EVMCodeTransform.cpp +++ b/libjulia/backends/evm/EVMCodeTransform.cpp @@ -67,6 +67,7 @@ void CodeTransform::operator()(VariableDeclaration const& _varDecl) var.stackHeight = height++; var.active = true; } + checkStackHeight(&_varDecl); } void CodeTransform::operator()(Assignment const& _assignment) |