mirror of https://github.com/hyperledger/besu
Treat output length as a maximum length for CALL operations (#236)
* Fix corner case where Memory did not clear target destination if the new bytes to set was empty. * Use BytesValue.EMPTY instead of Bytes32.EMPTY to make it clear that it's a 0 length BytesValues rather than 32 bytes of zeross. * Treat outputLength for call operations as a maximum length - when the actual data to output is shorter than outputLength, do not zero out the tail end of the memory range.
parent
af9ea53e81
commit
41bce807f5
Loading…
Reference in new issue