diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-06-04 18:31:18 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-06-26 16:27:48 +0800 |
commit | 7763d21cc6181204b1454437b051ac56d3e89339 (patch) | |
tree | 3e91f603daf0091688e32f915d88281783986fa1 /libsolidity/codegen/CompilerUtils.h | |
parent | 4be9dc430452ca73ffb07f987f27fb6ccf4ac848 (diff) | |
download | dexon-solidity-7763d21cc6181204b1454437b051ac56d3e89339.tar.gz dexon-solidity-7763d21cc6181204b1454437b051ac56d3e89339.tar.zst dexon-solidity-7763d21cc6181204b1454437b051ac56d3e89339.zip |
Revert if calldata is too short or points out of bounds
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-rw-r--r-- | libsolidity/codegen/CompilerUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h index 8e3a8a5d..0ff3ad7c 100644 --- a/libsolidity/codegen/CompilerUtils.h +++ b/libsolidity/codegen/CompilerUtils.h @@ -102,7 +102,7 @@ public: /// area. Also has a hard cap of 0x100000000 for any given length/offset field. /// Stack pre: <source_offset> <length> /// Stack post: <value0> <value1> ... <valuen> - void abiDecode(TypePointers const& _typeParameters, bool _fromMemory = false, bool _revertOnOutOfBounds = false); + void abiDecode(TypePointers const& _typeParameters, bool _fromMemory = false); /// Copies values (of types @a _givenTypes) given on the stack to a location in memory given /// at the stack top, encoding them according to the ABI as the given types @a _targetTypes. |