nuttx/net
zhanghongyu 0dc0b94380 net/ipv4: check whether the length of the ipv4 option is correct
This patch adds validation for IPv4 option lengths during packet processing
to prevent malformed packets from causing undefined behavior. The new
ipv4_check_opt() function verifies that option lengths are within valid
bounds before processing them.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-01-15 16:14:19 -03:00
..
arp net:modify check condition from IFF_UP to IFF_RUNNING in the sending process 2026-01-09 21:48:18 +08:00
bluetooth net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
can can: propagate iob_tryadd_queue() failure in can_datahandler 2026-01-07 08:31:06 +01:00
devif net/ipv4: check whether the length of the ipv4 option is correct 2026-01-15 16:14:19 -03:00
icmp net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
icmpv6 icmpv6_autoconfig.c: fix crash when ipv6 address modified during autoconfig 2026-01-13 13:55:17 -08:00
ieee802154 net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
igmp net:modify check condition from IFF_UP to IFF_RUNNING in the sending process 2026-01-09 21:48:18 +08:00
inet net/ethernet: fix compilation issues 2025-12-29 23:31:51 +08:00
ipfilter fix compile warning with implicit declaration of function 'icmp_reply' 2024-10-08 22:30:11 +08:00
ipforward net:modify check condition from IFF_UP to IFF_RUNNING in the sending process 2026-01-09 21:48:18 +08:00
ipfrag ipfrag: use netdev_iob_replace_l2 to replace d_iob 2026-01-15 01:55:19 +08:00
local net/local: replace net_lock with local_lock 2026-01-06 16:08:30 +08:00
mld net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
nat net/nat: replace net_lock with nat_lock(mutex) 2025-12-29 09:42:18 +08:00
neighbor net/neighbor: Skip Neighbor request if ip address is invalid at ipv6 2025-12-30 22:06:21 +08:00
netdev net/netdev: correct the ioctl command validation logic 2026-01-15 19:59:40 +08:00
netfilter fix compile warning with ipt_sockopt.c and ip6t_sockopt.c: implicit declaration of function 'popcount' 2024-10-08 22:30:11 +08:00
netlink net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
pkt net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
procfs net:modify check condition from IFF_UP to IFF_RUNNING in the sending process 2026-01-09 21:48:18 +08:00
route net/route/ramroute: replace prealloc with netpool 2026-01-15 23:15:03 +08:00
rpmsg net/rpmsg/rpmsg_sockif: fix compile error about nxsched_getpid 2025-12-31 02:36:29 +08:00
sixlowpan net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
socket net/socket: replace net_lock with conn_lock 2026-01-01 07:35:12 -03:00
tcp net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
udp net:modify check condition from IFF_UP to IFF_RUNNING in the sending process 2026-01-09 21:48:18 +08:00
usrsock net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
utils net/utils: conn_dev_sem_timedwait supports the input parameter sconn being NULL 2026-01-02 07:48:06 -03:00
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig net/can: add write buffer to support nonblock send 2025-12-15 10:19:15 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
net_initialize.c net/net_initialize: remove the empty functions that are not needed 2025-12-25 09:50:40 +08:00