Skip to content

Commit 0087dae

Browse files
committed
fix: false OOB with array.fill in fast-interp
1 parent 2ce332a commit 0087dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/iwasm/interpreter/wasm_interp_fast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
25622562

25632563
if (len > 0) {
25642564
if ((uint64)start_offset + len
2565-
>= wasm_array_obj_length(array_obj)) {
2565+
> wasm_array_obj_length(array_obj)) {
25662566
wasm_set_exception(
25672567
module, "out of bounds array access");
25682568
goto got_exception;

0 commit comments

Comments
 (0)