nuttx/sched/group
Masayuki Ishikawa 6992a8f4cc sched: group: Fix memory corruption in group_leave.c
Summary:
- I noticed that nxplayer (HTTP audio streaming) + command execution
  via telnet sometimes causes memory corruption.
  See https://github.com/apache/nuttx/pull/7947 for the detail.
- This commit fixes this issue by calling lib_stream_release() before
  lib_stream_release() in group_leave.c

Impact:
- Should be none

Testing:
- Tested with spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-12-29 10:33:47 +08:00
..
group_addrenv.c sched/group: addrenv: allocate current group for each cpu 2022-05-08 20:34:31 +03:00
group_childstatus.c group/child_status: Dynamically expand group child_status 2021-07-15 20:14:57 -07:00
group_continue.c nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00
group_create.c fs/streams: Move the file streams from the group structure into TLS 2022-12-22 20:16:11 +08:00
group_exitinfo.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_find.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
group_foreachchild.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_free.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
group_getgid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_getuid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_join.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
group_killchildren.c group_kill_children_handler: use nxtask_delete as this is in-kernel 2022-10-19 21:32:30 +08:00
group_leave.c sched: group: Fix memory corruption in group_leave.c 2022-12-29 10:33:47 +08:00
group_malloc.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
group_realloc.c Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
group_setgid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_setuid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_setupidlefiles.c group_setupidlefiles: fall back to /dev/null if /dev/console is disabled 2022-11-09 17:06:38 +08:00
group_setupstreams.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_setuptaskfiles.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_signal.c Fix compiler warnings (-Wunused-parameter) in various functions 2022-07-12 11:42:34 +08:00
group_suspendchildren.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
group_waiter.c sched/group: Simplify the allocation and deallocation logic 2022-03-04 12:11:24 +09:00
group_zalloc.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
group.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
Make.defs sched/Makefile: move task_reparent.c to appropriate Makefile 2022-07-27 23:22:37 +08:00