zephyr/subsys/net/ip
Jukka Rissanen e44ed8dbb8 net: ipv6: Make sure we do not access link address past array length
It is possible to manually set link address length past 6 at runtime
and trying to generate IPv6 IID address that way. This should fail
as we could read two bytes past the address buffer. There is no issues
in the copying as the target buffer has plenty of space.

Coverity-CID: 516232

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-05-28 10:05:21 +02:00
..
6lo_private.h
6lo.c
6lo.h
canbus_socket.c net: connection: Split net_conn_input() 2025-04-23 11:48:33 +02:00
canbus_socket.h
CMakeLists.txt
connection.c net: sockets: packet: Make it possible to receive packets when unbound 2025-04-30 16:26:16 +02:00
connection.h net: connection: Make it possible to update local address 2025-04-30 16:26:16 +02:00
icmp.c
icmpv4.c
icmpv4.h
icmpv6.c
icmpv6.h
igmp.c net: ip: igmp: Ensure IGMP APIs work with offloaded interfaces 2025-05-09 18:00:14 +02:00
igmp.h
ipv4_acd.c net: l2: ethernet: arp: explicit error codes 2025-04-24 22:58:51 +02:00
ipv4_autoconf.c
ipv4_fragment.c net: ip: resolve NET_IPV4_FRAGMENT build warning 2025-05-01 18:17:46 +02:00
ipv4.c net: connection: Split net_conn_input() 2025-04-23 11:48:33 +02:00
ipv4.h net: ipv4: Add DiffServ DSCP code point definitions 2025-03-25 11:00:33 +01:00
ipv6_fragment.c
ipv6_mld.c net: ip: mld: Ensure MLD APIs work with offloaded interfaces 2025-05-09 18:00:14 +02:00
ipv6_nbr.c
ipv6_pe.c
ipv6.c net: ipv6: Make sure we do not access link address past array length 2025-05-28 10:05:21 +02:00
ipv6.h
iterables_net_pkt_alloc_stats.ld
Kconfig net: shell: Add packet filter support 2025-04-16 08:07:34 +02:00
Kconfig.debug
Kconfig.ipv4 net: Add support for IPv4_MULTICAST_LOOP in net_context 2025-03-24 09:54:05 +01:00
Kconfig.ipv6 net: sockets: IPv6_MULTICAST_LOOP Support 2025-03-21 14:19:08 +01:00
Kconfig.mgmt
Kconfig.stack
Kconfig.stats net: pkt_filter: Add statistics support to packet filter 2025-04-16 08:07:34 +02:00
Kconfig.tcp
nbr.c
nbr.h
net_context.c net: sockets: packet: Fix default binding order 2025-04-30 16:26:16 +02:00
net_core.c net: dsa: introduce new DSA framework 2025-04-24 01:26:46 +02:00
net_if.c net: if: Add debug prints for IPv6 prefix selection 2025-05-21 09:30:22 +02:00
net_mgmt.c
net_pkt.c net: ip: net_pkt: conditional net_if_get_by_iface 2025-05-22 04:53:08 +02:00
net_private.h net: sockets: Add SOCK_RAW support for AF_INET/AF_INET6 sockets 2025-04-09 12:36:34 +02:00
net_stats.c
net_stats.h net: pkt_filter: Add statistics support to packet filter 2025-04-16 08:07:34 +02:00
net_tc_mapping.h
net_tc.c
net_timeout.c
packet_socket.c net: dsa: make current DSA core driver obsolete 2025-04-24 01:26:46 +02:00
packet_socket.h net: core: Pass the actual LL proto for DGRAM packet sockets 2025-04-23 11:48:33 +02:00
pmtu.c
pmtu.h
promiscuous.c
route.c
route.h
tcp_internal.h
tcp_private.h net: tcp: Move the CLOSED state to the front 2025-05-27 06:51:46 +02:00
tcp.c net: tcp: Fix TCP reset issue 2025-05-21 08:01:55 +02:00
tcp.h
tp_priv.h
tp.c
tp.h
udp_internal.h
udp.c net: connection: Register connection type 2025-04-09 12:36:34 +02:00
utils.c