zephyr/subsys/net/ip
Jukka Rissanen 5f3e6212af net: utils: Port parsing failure in net_ipaddr_parse()
If trying to parse a string like 192.0.2.2:80/foobar and
setting the length to 12 which means to parse the IP address
and port, the parsing failed because it used one extra character
from the string. This issue was not present if the input string
was terminated after the port number.

Add a test case to catch this problem.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-11-16 13:51:27 -05:00
..
6lo.c
6lo.h
6lo_private.h
CMakeLists.txt net: pkt: Collect net_pkt allocation statistics 2024-10-22 20:38:57 +02:00
Kconfig net: pkt: Collect net_pkt allocation statistics 2024-10-22 20:38:57 +02:00
Kconfig.debug
Kconfig.ipv4
Kconfig.ipv6
Kconfig.mgmt net: Increase net_mgmt task priority 2024-10-25 13:53:49 +02:00
Kconfig.stack
Kconfig.stats
Kconfig.tcp
canbus_socket.c
canbus_socket.h
connection.c
connection.h
icmp.c
icmpv4.c
icmpv4.h
icmpv6.c
icmpv6.h
igmp.c net: ip: igmp: Add igmp.h for definitions 2024-10-17 09:44:33 +02:00
igmp.h net: ip: igmp: Add igmp.h for definitions 2024-10-17 09:44:33 +02:00
ipv4.c
ipv4.h
ipv4_acd.c net: ipv4: Fix ARP probe check in address conflict detection 2024-10-29 07:07:59 -05:00
ipv4_autoconf.c
ipv4_fragment.c net: ipv4: fragmentation: Drop the packet if fragmentation fails 2024-11-08 11:37:49 -06:00
ipv6.c
ipv6.h net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
ipv6_fragment.c
ipv6_mld.c net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
ipv6_nbr.c net: ipv6: fragmentation: Drop the packet if fragmentation fails 2024-11-08 11:37:49 -06:00
ipv6_pe.c
iterables_net_pkt_alloc_stats.ld net: pkt: Collect net_pkt allocation statistics 2024-10-22 20:38:57 +02:00
nbr.c
nbr.h
net_context.c
net_core.c
net_if.c net: if: Don't require native IP stack support for IPv6 lookups 2024-10-09 18:37:30 +01:00
net_mgmt.c net: Increase net_mgmt task priority 2024-10-25 13:53:49 +02:00
net_pkt.c net: pkt: Collect net_pkt allocation statistics 2024-10-22 20:38:57 +02:00
net_private.h
net_stats.c
net_stats.h
net_tc.c
net_tc_mapping.h
net_timeout.c
packet_socket.c
packet_socket.h
promiscuous.c
route.c
route.h
tcp.c
tcp.h
tcp_internal.h
tcp_private.h
tp.c
tp.h
tp_priv.h
udp.c
udp_internal.h
utils.c net: utils: Port parsing failure in net_ipaddr_parse() 2024-11-16 13:51:27 -05:00