mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4194 from ritzdorf/patch-1
Array Length mistankingly taken as Offset
This commit is contained in:
commit
0c223b037f
@ -115,7 +115,7 @@ you really know what you are doing.
|
||||
|
||||
// Iterate until the bound is not met.
|
||||
for
|
||||
{ let end := add(data, len) }
|
||||
{ let end := add(data, mul(len, 0x20)) }
|
||||
lt(data, end)
|
||||
{ data := add(data, 0x20) }
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user