mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-01-15 13:56:39 +00:00
Add test case that reproduces the bug where exec_env_tls is not cleared on early return paths in invoke_native_with_hw_bound_check. The test triggers native stack overflow check failure, which causes wasm_runtime_call_wasm to return early after setting exec_env_tls but without clearing it. This leaves exec_env_tls pointing to a destroyed exec_env, causing subsequent calls to fail with "invalid exec env". Test confirms the fix in wasm_exec_env_destroy correctly clears exec_env_tls when destroying the exec_env it points to. |
||
|---|---|---|
| .. | ||
| benchmarks | ||
| fuzz/wasm-mutator-fuzz | ||
| malformed | ||
| regression/ba-issues | ||
| requirement-engineering | ||
| standalone | ||
| unit | ||
| wamr-compiler | ||
| wamr-test-suites | ||