Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix null pointer access in fast-interp when configurable soft bound c…
…heck is enabled (#3150) The wasm_interp_call_func_bytecode is called for the first time with the empty module/exec_env to generate a global_handle_table. Before that happens though, the function checks if the module instance has bounds check enabled. Because the module instance is null, the program crashes. This PR added an extra check to prevent the crashes.
- Loading branch information