mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-11-27 10:00:59 +00:00
In wasm_cluster_create_thread, the new_exec_env is added into the cluster's exec_env list before the thread is created, so other threads can access the fields of new_exec_env once the cluster->lock is unlocked, while the new_exec_env's handle is set later inside the thread routine. This may result in the new_exec_env's handle be invalidly accessed by other threads. |
||
|---|---|---|
| .. | ||
| aot | ||
| common | ||
| compilation | ||
| fast-jit | ||
| include | ||
| interpreter | ||
| libraries | ||
| README.md | ||