From 893e6f4ec2dff8aeca4fa3b99a265f291428deac Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 6 Jun 2017 16:41:49 +0200 Subject: Missing stack height check for variable declaration. --- libjulia/backends/evm/EVMCodeTransform.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- cgit