zephyr/tests/net
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
all
arp
bridge
checksum_offload
conn_mgr_conn
conn_mgr_monitor
context
dhcpv4
dhcpv6
ethernet_mgmt
hostname
icmp
icmpv4
icmpv6
ieee802154
iface
igmp
ip-addr
ipv4_fragment
ipv6
ipv6_fragment
lib net: lib: coap_client: Add API to cancel specific request 2024-11-16 13:33:28 -05:00
mgmt
mld
mocks
neighbor
net_pkt
npf
offloaded_netdev
pm
ppp/driver
promiscuous
ptp/clock
route
route_mcast
shell
socket
tcp
traffic_class
trickle
tx_timestamp
udp
utils net: utils: Port parsing failure in net_ipaddr_parse() 2024-11-16 13:51:27 -05:00
virtual
vlan
wifi