nuttx/net
zhanghongyu c6c7cf6bba net/netlink: fix memory leak in netlink_get_neighbor
Add kmm_free(alloc) before returning NULL when neigh is NULL in
netlink_get_neighbor(). Without this, the allocated memory is
leaked on the error path.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-13 08:46:57 -03:00
..
arp include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bluetooth net/bluetooth: fix null pointer dereference in bluetooth_sendmsg 2026-04-13 08:46:57 -03:00
can include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
icmp net/icmp: use break instead of return in icmp_findconn 2026-04-13 08:46:57 -03:00
icmpv6 net/icmpv6: fix wrong logical operator in recvmsg validation 2026-04-13 08:46:57 -03:00
ieee802154 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
igmp include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
inet include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ipfilter include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ipforward include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ipfrag include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
local include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mld net/mld: remove duplicate net_unlock in mld_gendog_work 2026-04-13 08:46:57 -03:00
nat include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
neighbor include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
netdev include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
netfilter net/netfilter: fix match name for UDP in ipt_filter 2026-04-13 08:46:57 -03:00
netlink net/netlink: fix memory leak in netlink_get_neighbor 2026-04-13 08:46:57 -03:00
pkt include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
procfs include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
route include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
rpmsg include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sixlowpan include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
socket include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
tcp include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp net/udp: fix conn_unlock not called outside conditional block 2026-04-09 03:04:15 +08:00
usrsock include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
utils include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
CMakeLists.txt net: Support no-lto option for the network build. 2026-01-20 10:12:45 +08:00
Kconfig net: Support no-lto option for the network build. 2026-01-20 10:12:45 +08:00
Makefile Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
net_initialize.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00