nuttx/fs/aio
Xiang Xiao 2466219100 fs/aio: guard against all-NULL aiocb lists in lio_listio()
When lio_listio() is called with LIO_NOWAIT and a non-NULL sig, and no
I/O could be queued (or all entries are LIO_NOP/NULL), the completion
notification dereferences a NULL aiocbp picked from an empty iteration,
crashing nxsig_notification().

Scan the list for any non-NULL entry before delivering the
notification, and skip it entirely when the list contains only NULL
entries.

Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com>
2026-09-14 17:12:49 -03:00
..
aio.h
aio_cancel.c
aio_fsync.c fs/aio: rework lio_listio() with a lock-protected request list 2026-09-14 17:12:49 -03:00
aio_initialize.c
aio_queue.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
aio_read.c fs/aio: rework lio_listio() with a lock-protected request list 2026-09-14 17:12:49 -03:00
aio_signal.c fs/aio: rework lio_listio() with a lock-protected request list 2026-09-14 17:12:49 -03:00
aio_write.c fs/aio: rework lio_listio() with a lock-protected request list 2026-09-14 17:12:49 -03:00
aioc_contain.c
CMakeLists.txt fs/aio: move lio_listio() to fs/aio 2026-09-14 17:12:49 -03:00
Kconfig aio: add depends on not disable all signals 2026-02-26 20:03:05 +08:00
lio_listio.c fs/aio: guard against all-NULL aiocb lists in lio_listio() 2026-09-14 17:12:49 -03:00
Make.defs fs/aio: move lio_listio() to fs/aio 2026-09-14 17:12:49 -03:00