mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 13:17:49 +00:00
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> |
||
|---|---|---|
| .. | ||
| aio.h | ||
| aio_cancel.c | ||
| aio_fsync.c | ||
| aio_initialize.c | ||
| aio_queue.c | ||
| aio_read.c | ||
| aio_signal.c | ||
| aio_write.c | ||
| aioc_contain.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lio_listio.c | ||
| Make.defs | ||