mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-12 08:55:28 +00:00
Fix memory.init opcode issue in fast-interp (#2798)
Fix fast interpreter didn't throw OOB exception correctly in some scenarios. Reported in #2797.
This commit is contained in:
parent
aebe30426f
commit
a57e70016a
|
@ -2989,8 +2989,8 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
|
|||
|
||||
segment = read_uint32(frame_ip);
|
||||
|
||||
bytes = (uint64)POP_I32();
|
||||
offset = (uint64)POP_I32();
|
||||
bytes = (uint64)(uint32)POP_I32();
|
||||
offset = (uint64)(uint32)POP_I32();
|
||||
addr = POP_I32();
|
||||
|
||||
#if WASM_ENABLE_THREAD_MGR
|
||||
|
|
Loading…
Reference in New Issue
Block a user