mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
8f9857bf8c
Summary: Fixed the problem of releasing the bucket prematurely in multi-threaded flock scenarios. A thread setlk B thread setlk_wait A thread releases lock but fails to determine if nwaiter causes the bucket to be released prematurely post B thread causes crash due to heap use after free https://github.com/apache/nuttx/issues/13821 Signed-off-by: chenrun1 <chenrun1@xiaomi.com>