mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix ICE when trying to decode too large static arrays
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user