neo-go/pkg/vm/stackitem
Anna Shaleva b0cdae4666 vm: reduce maximum stckitem size
To prevent possible DoS. Port the https://github.com/neo-project/neo-vm/pull/514,
close #3170.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-11-13 20:40:30 +03:00
..
immutable.go vm: support immutable compound types 2022-05-31 08:07:50 +03:00
item.go vm: reduce maximum stckitem size 2023-11-13 20:40:30 +03:00
item_test.go vm: allow to make stackitem from *Uint160 and *Uint256 2023-05-17 11:16:32 +03:00
json.go vm: fix linter warning 2023-10-20 17:22:21 +03:00
json_test.go vm: reduce maximum stckitem size 2023-11-13 20:40:30 +03:00
reference.go vm: embed reference counter in compound items 2021-08-13 14:41:26 +03:00
serialization.go vm: allow custom limit duing Map\Array\Struct deserialization 2023-02-08 10:58:55 +03:00
serialization_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
type.go vm: stringify InteropInterface stackitem type as InteropInterface 2022-05-25 13:20:21 +03:00
type_test.go stackitem: allow to convert type from string 2020-07-31 16:07:16 +03:00