zephyr/subsys/net
Robert Lubos 31b79a93af net: pkt: Add explicit casts to uint32_t when bitshifting uint8_t val
Cast uint8_t variable to uint32_t explicitly to avoid implicit cast to
int, and thus potentially undefined behavior, reported by UBSAN:

  net_pkt.c:1946:17: runtime error: left shift of 239 by 24 places
  cannot be represented in type 'int'

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-07-04 13:16:32 -05:00
..
conn_mgr net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
ip net: pkt: Add explicit casts to uint32_t when bitshifting uint8_t val 2025-07-04 13:16:32 -05:00
l2 net: ipv4: Avoid casting unaligned address to struct in_addr 2025-07-04 13:16:32 -05:00
lib net: lib: websocket: Avoid bitshift overflow warning 2025-07-04 13:16:32 -05:00
pkt_filter net: pkt_filter: Add VLAN support to filtering 2025-04-16 08:07:34 +02:00
CMakeLists.txt
hostname.c
Kconfig
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net