neoneo-go/pkg/vm
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
..
cli vm: increase waiting time for vm cli program 2021-06-01 16:29:08 +03:00
emit vm: allow emit.Array handle uint256 2021-04-16 16:20:30 +03:00
opcode *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
stackitem vm: fix OOM during nested structure cloning 2021-07-11 18:47:50 +03:00
testdata opcode: fix GTE, LTE string representations 2021-04-29 16:08:48 +03:00
context.go vm: add instruction correctness check 2021-02-09 22:31:26 +03:00
contract_checks.go core: rename Neo.Crypto.CheckMultisig interop 2021-05-11 18:38:14 +03:00
contract_checks_test.go core: refactor Neo.Crypto.CheckMultisigWithECDsaSecpr1 2021-03-10 21:46:05 +03:00
debug_test.go vm: fix debugger and add tests 2020-08-18 11:26:27 +03:00
exception.go stackitem: change Bool() to TryBool(), prepare for its failures 2020-08-21 20:55:20 +03:00
interop.go interop: remove System.Iterator.Create, fix #1935 2021-05-11 12:13:30 +03:00
json_test.go vm: simplify some test code 2021-05-12 18:44:35 +03:00
opcodebench_test.go opcode: fix GTE, LTE string representations 2021-04-29 16:08:48 +03:00
ref_counter.go vm: move StackItem to a separate package 2020-06-08 13:27:08 +03:00
ref_counter_test.go vm: move StackItem to a separate package 2020-06-08 13:27:08 +03:00
slot.go vm: allow to initialize static slot in method 2020-07-27 13:00:35 +03:00
slot_test.go vm: allow to initialize static slot in method 2020-07-27 13:00:35 +03:00
stack.go vm: optimize reversing items on the stack 2020-10-15 16:19:59 +03:00
stack_test.go vm: allow to convert stack to a slice 2020-07-31 16:07:16 +03:00
state.go remove github.com/pkg/errors from dependencies 2020-08-07 12:21:52 +03:00
state_test.go core, vm: store VMState as byte instead of string 2020-07-29 10:14:08 +03:00
vm.go vm: fix OOM during nested structure cloning 2021-07-11 18:47:50 +03:00
vm_test.go vm: fix OOM during nested structure cloning 2021-07-11 18:47:50 +03:00