Solidity Bug Info
MemoryArrayCreationOverflowThe creation of very large memory arrays can result in overlapping memory regions and thus memory corruption.
|No runtime overflow checks were performed for the length of memory arrays during creation. In cases for which the memory size of an array in bytes, i.e. the array length times 32, is larger than 2^256-1, the memory allocation will overflow, potentially resulting in overlapping memory areas. The length of the array is still stored correctly, so copying or iterating over such an array will result in out-of-gas.|
- Link: https://blog.soliditylang.org/2020/04/06/memory-creation-overflow-bug/
- First Introduced: 0.2.0
- Fixed in Version: 0.6.5
- Severity<: low