Skip to content

Commit 3dd98d2

Browse files
committed
Fix false OOB in array.fill
1 parent 387c10b commit 3dd98d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/iwasm/interpreter/wasm_interp_classic.c

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

31663166
if (len > 0) {
31673167
if ((uint64)start_offset + len
3168-
>= wasm_array_obj_length(array_obj)) {
3168+
> wasm_array_obj_length(array_obj)) {
31693169
wasm_set_exception(
31703170
module, "out of bounds array access");
31713171
goto got_exception;

0 commit comments

Comments
 (0)