mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-06 10:51:10 +00:00
Clip OOB values in call data load and copy (#448)
The OOB logic is implemented in the runtime but truncation circumvented it. Closes #263 --------- Signed-off-by: xermicus <cyrill@parity.io> Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
1 parent
c1ce984ca2
commit
a1a4f8e6ea
5 files changed
+68
-12
No files matched your search
@@ -6,6 +6,9 @@ This is a development pre-release.
|
||||
|
||||
Supported `polkadot-sdk` rev: `unstable2507`
|
||||
|
||||
### Fixed
|
||||
- OOB access in `calldataload` and `calldatacopy` should always produce zero values instead of consuming all gas.
|
||||
|
||||
## v0.6.0
|
||||
|
||||
This is a development pre-release.
|
||||
|
||||
Reference in new issue
Block a user