neo-go/pkg/vm/stackitem
Roman Khimov cfe41abd35 vm: fix OOM during nested structure cloning
Resulting item can't have more than MaxStackSize elements. Technically this
limits to MaxStackSize cloned elements but it's considered to be enough to
mitigate the issue (the next size check is going to happen during push to the
stack). See neo-project/neo#2534, thanks @vang1ong7ang.
2021-07-11 18:47:50 +03:00
..
item.go vm: fix OOM during nested structure cloning 2021-07-11 18:47:50 +03:00
item_test.go vm: fix OOM during nested structure cloning 2021-07-11 18:47:50 +03:00
json.go state: move nil check down to stackitem JSON processing 2021-07-07 00:38:19 +03:00
json_test.go stackitem: escape control characters in ToJSON() 2021-03-02 10:47:02 +03:00
serialization.go stackitem: rework error handling 2021-07-07 00:18:00 +03:00
serialization_test.go stackitem: rework error handling 2021-07-07 00:18:00 +03:00
type.go stackitem: rework error handling 2021-07-07 00:18:00 +03:00
type_test.go stackitem: allow to convert type from string 2020-07-31 16:07:16 +03:00