summaryrefslogtreecommitdiff
path: root/docs/asserts
diff options
context:
space:
mode:
authorZhihong Chen <[email protected]>2026-08-19 12:51:05 +0800
committersakumisu <[email protected]>2026-08-19 13:52:13 +0800
commit89a1610636845a77deec3c3e70c565f20ddb3341 (patch)
tree5a943d9e70913cf340da72e4822ac10762d3d6e0 /docs/asserts
parent60911ffd9ed6aaacf768dfd557508d0b40170664 (diff)
[fix] osal: defer Zephyr thread memory release
- The system workqueue may preempt a self-deleting thread after the release work is submitted. Waiting for the thread with k_thread_join() before freeing its TCB and stack prevents use-after-free corruption. - Also handle release work allocation failure before aborting the thread. Signed-off-by: Zhihong Chen <[email protected]>
Diffstat (limited to 'docs/asserts')
0 files changed, 0 insertions, 0 deletions