mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Set codecopy limit for data to 32 bytes.
This commit is contained in:
parent
871ea22bb9
commit
53f531ecb0
@ -1205,7 +1205,7 @@ void CompilerUtils::storeStringData(bytesConstRef _data)
|
|||||||
{
|
{
|
||||||
//@todo provide both alternatives to the optimiser
|
//@todo provide both alternatives to the optimiser
|
||||||
// stack: mempos
|
// stack: mempos
|
||||||
if (_data.size() <= 128)
|
if (_data.size() <= 32)
|
||||||
{
|
{
|
||||||
for (unsigned i = 0; i < _data.size(); i += 32)
|
for (unsigned i = 0; i < _data.size(); i += 32)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user