incubator-nuttx/net/local
zhanghongyu 824dfacd08 net/local: fix used after free
now the lc_path of the client will not be the same as that of the server.
therefore, accept->peer = NULL will not be set when the client release
the conn, then when release accept conn, set
client->peer(accept->peer->peer) = NULL will cause used after free

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2024-10-22 23:34:43 +08:00
..
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
local.h net/local: fix the return address is incorrect when accept 2024-10-11 01:31:20 +08:00
local_accept.c net/local: fix the return address is incorrect when accept 2024-10-11 01:31:20 +08:00
local_bind.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
local_conn.c net/local: fix used after free 2024-10-22 23:34:43 +08:00
local_connect.c net/local: fix the return address is incorrect when accept 2024-10-11 01:31:20 +08:00
local_fifo.c net/local: fix the return address is incorrect when accept 2024-10-11 01:31:20 +08:00
local_listen.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
local_netpoll.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
local_recvmsg.c local_socket: corrent send/recv return value after shutdown 2024-10-12 09:57:20 +08:00
local_recvutils.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
local_release.c local_sock: fix accept use-after-free 2024-10-09 18:16:01 +08:00
local_sendmsg.c local_socket: corrent send/recv return value after shutdown 2024-10-12 09:57:20 +08:00
local_sendpacket.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
local_sockif.c net/local: fix the return address is incorrect when accept 2024-10-11 01:31:20 +08:00