mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Missing stack height check for variable declaration.
This commit is contained in:
@@ -67,6 +67,7 @@ void CodeTransform::operator()(VariableDeclaration const& _varDecl)
|
||||
var.stackHeight = height++;
|
||||
var.active = true;
|
||||
}
|
||||
checkStackHeight(&_varDecl);
|
||||
}
|
||||
|
||||
void CodeTransform::operator()(Assignment const& _assignment)
|
||||
|
||||
Reference in New Issue
Block a user