The creation of very large memory arrays can result in overlapping memory regions and thus memory corruption. This is due to a compiler bug introduced in v0.2.0
and fixed in v0.6.5
. (see here)
- Memory Array Creation Overflow
- Very Large Memory Arrays
- Overlapping Memory -> Corruption
- Compiler bug -> Fixed
solc 0.2.0
-> solc 0.6.5