mirror of
https://github.com/apache/nuttx.git
synced 2026-09-13 22:20:24 +00:00
|
Some checks failed
checksum() accesses data[0] and calculates an invalid last_byte pointer when processing an empty fragment with odd state set. Return early when len is zero to preserve the checksum state and avoid accessing data from an empty fragment. Assisted by: GitHub Copilot Signed-off-by: Megha Rajput <i.meghar.2408@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| net_bufpool.c | ||
| net_chksum.c | ||
| net_cmsg.c | ||
| net_dsec2tick.c | ||
| net_dsec2timeval.c | ||
| net_icmpchksum.c | ||
| net_incr32.c | ||
| net_iob_concat.c | ||
| net_ipchksum.c | ||
| net_ipv6_payload.c | ||
| net_ipv6_pref2mask.c | ||
| net_lock.c | ||
| net_mask2pref.c | ||
| net_snoop.c | ||
| net_tcpchksum.c | ||
| net_timeval2dsec.c | ||
| net_udpchksum.c | ||
| utils.h | ||