nuttx/net/devif
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
..
CMakeLists.txt
devif.h devif_poll: only call the corresponding xxx_poll when there is data to be sent 2026-01-02 00:04:16 +08:00
devif_callback.c net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
devif_filesend.c
devif_forward.c
devif_iobsend.c
devif_loopback.c
devif_poll.c net/ieee802154: replace net_lock with conn_lock and conn_lock_dev 2026-01-02 07:48:06 -03:00
devif_send.c
ipv4_input.c net/ipv4: check whether the length of the ipv4 option is correct 2026-01-15 16:14:19 -03:00
ipv6_input.c net/ipv6: Drop IP packet shorter than length in IP header 2025-12-30 11:28:38 +08:00
Make.defs