We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f4145e commit 2c2d8cbCopy full SHA for 2c2d8cb
1 file changed
core/iwasm/aot/aot_runtime.c
@@ -4495,7 +4495,7 @@ aot_create_call_stack(struct WASMExecEnv *exec_env)
4495
frame.frame_ref = (uint8 *)frame.lp + (frame_ref - (uint8 *)lp);
4496
/* copy local ref flags from AOT module */
4497
bh_memcpy_s(frame.frame_ref, local_ref_flags_cell_num,
4498
- local_ref_flags, lp_size);
+ local_ref_flags, local_ref_flags_cell_num);
4499
#endif
4500
}
4501
0 commit comments