mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 13:08:59 +00:00
Summary: Implementation in accept4 is special, the requested newsock is saved as filep->priv. This will cause sock_file_close to use fs_heap_free filep->priv during close. When fs_heap is configured, the released memory will not be on fs_heap, causing a crash. Signed-off-by: chenrun1 <chenrun1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| accept.c | ||
| bind.c | ||
| CMakeLists.txt | ||
| connect.c | ||
| getpeername.c | ||
| getsockname.c | ||
| getsockopt.c | ||
| Kconfig | ||
| listen.c | ||
| Make.defs | ||
| net_close.c | ||
| net_dup2.c | ||
| net_fstat.c | ||
| net_poll.c | ||
| net_sendfile.c | ||
| net_sockif.c | ||
| net_timeo.c | ||
| recv.c | ||
| recvfrom.c | ||
| recvmsg.c | ||
| send.c | ||
| sendmsg.c | ||
| sendto.c | ||
| setsockopt.c | ||
| shutdown.c | ||
| socket.c | ||
| socket.h | ||
| socketpair.c | ||