wasm-micro-runtime/core
teamchong 628d4110a4 fix: clear exec_env_tls when destroying exec_env
When an exec_env is destroyed, check if it matches the current thread's
exec_env_tls and clear it to avoid dangling pointer issues.

Without this fix, in daemon-style execution where the same thread runs
multiple WASM modules sequentially (like Cloudflare Workers), the
exec_env_tls can point to freed memory after an exec_env is destroyed,
causing crashes on subsequent executions when the signal handler tries
to access it.

This is critical for AOT mode with hardware bounds checking enabled,
where signal handlers rely on exec_env_tls to handle SIGSEGV properly.
2025-12-29 13:13:12 -05:00
..
deps Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
iwasm fix: clear exec_env_tls when destroying exec_env 2025-12-29 13:13:12 -05:00
shared Namespace generated headers with zephyr/ (#4670) 2025-11-24 19:20:53 +08:00
config.h add micro AMR_BUILD_LIME1 to enable minimal lime1 feature set (#4571) 2025-09-14 14:08:27 +08:00
version.h Bump version number to 2.4.3 (#4671) 2025-10-23 13:15:25 +08:00
version.h.in Add version.h and update versioning documentation for embedded platforms 2025-02-05 10:31:20 +00:00