Merge pull request #9030 from ethereum/issue-8923

Fix ICE when trying to decode too large static arrays
This commit is contained in:
chriseth
2020-05-27 11:45:39 +02:00
committed by GitHub
3 changed files with 21 additions and 0 deletions
@@ -0,0 +1,8 @@
// Used to cause ICE
contract C {
function f() public {
abi.decode("", (byte[999999999]));
}
}
// ----
// TypeError: (75-90): Type too large for memory.