nuttx/net
zhanghongyu a0b8969636 net/bluetooth: fix null pointer dereference in bluetooth_sendmsg
Move the NULL check for radio pointer before the DEBUGASSERT that
dereferences it. Previously DEBUGASSERT(radio->r_dev.d_lltype == ...)
was executed before verifying radio != NULL, which would crash when
the device is not found.

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 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
icmpv6 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -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 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -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 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
netlink include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -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