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:
parent
ef3d5874fe
commit
893e6f4ec2
@ -67,6 +67,7 @@ void CodeTransform::operator()(VariableDeclaration const& _varDecl)
|
|||||||
var.stackHeight = height++;
|
var.stackHeight = height++;
|
||||||
var.active = true;
|
var.active = true;
|
||||||
}
|
}
|
||||||
|
checkStackHeight(&_varDecl);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CodeTransform::operator()(Assignment const& _assignment)
|
void CodeTransform::operator()(Assignment const& _assignment)
|
||||||
|
Loading…
Reference in New Issue
Block a user