mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
waitpid: CRITICAL BUGFIX. Add a reference counting mechansim to prevent wait from using stale memory that was freed by the exiting task
This commit is contained in:
@@ -42,6 +42,10 @@ CSRCS += task_reparent.c
|
||||
ifeq ($(CONFIG_SCHED_CHILD_STATUS),y)
|
||||
CSRCS += group_childstatus.c
|
||||
endif
|
||||
else
|
||||
ifeq ($(CONFIG_SCHED_WAITPID),y)
|
||||
CSRCS += group_waiter.c
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_ADDRENV),y)
|
||||
|
||||
Reference in New Issue
Block a user