nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

Fix task_setup race condition

Open Gary-Hobson opened this issue 6 months ago • 5 comments

Summary

When a large number of threads are created in SMP, malloc in nxtask_assign_pid may cause thread switching and create new threads. This may lead to accessing invalid pointers.

Impact

Testing

Gary-Hobson avatar Aug 23 '24 08:08 Gary-Hobson