neoneo-go/pkg
Roman Khimov b9ff07f32c stackitem: add limit to serialized items
Standard binary serialization/deserialization is mostly used in VM to put/get
elements into/from storage, so they never should exceed MaxSize (otherwise one
won't be able to deserialize these items).

This patch leaves EncodeBinaryStackItem unprotected, but that's a streaming
interface, so it's up to the user of it to ensure its appropriate use (and our
uses are mostly for native contract's data, so they're fine).
2021-07-06 19:34:02 +03:00
..
compiler compiler/test: compile whole directory in examples 2021-06-28 11:50:40 +03:00
config config: make MaxValidUntilBlockIncrement configurable 2021-05-17 13:43:03 +03:00
consensus crypto: allow to provide non-default scrypt parameters 2021-06-11 15:22:28 +03:00
core mpt: strip branch if 1 child is left 2021-07-05 11:04:20 +03:00
crypto keys: simplify code a bit 2021-06-17 21:55:00 +03:00
encoding *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
interop native/neo: add getAccountState method, close #1975 2021-05-27 10:59:38 +03:00
io *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
network Merge pull request #1997 from nspcc-dev/drop-syncreached-check 2021-06-04 23:39:34 +03:00
rpc compiler: extend permission check to runtime hashes 2021-06-28 11:49:30 +03:00
services *: regenerate test wallets with resources-friendly scrypt parameters 2021-06-11 15:22:32 +03:00
smartcontract callflag: add C#-compliant JSONization, fix #2040 2021-07-06 11:17:12 +03:00
util *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
vm stackitem: add limit to serialized items 2021-07-06 19:34:02 +03:00
wallet *: regenerate test wallets with resources-friendly scrypt parameters 2021-06-11 15:22:32 +03:00