mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 04:38:59 +00:00
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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| devif.h | ||
| devif_callback.c | ||
| devif_filesend.c | ||
| devif_forward.c | ||
| devif_iobsend.c | ||
| devif_loopback.c | ||
| devif_poll.c | ||
| devif_send.c | ||
| ipv4_input.c | ||
| ipv6_input.c | ||
| Make.defs | ||