5f3e6212af
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> |
||
---|---|---|
.. | ||
6lo.c | ||
6lo.h | ||
6lo_private.h | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.debug | ||
Kconfig.ipv4 | ||
Kconfig.ipv6 | ||
Kconfig.mgmt | ||
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 | ||
igmp.h | ||
ipv4.c | ||
ipv4.h | ||
ipv4_acd.c | ||
ipv4_autoconf.c | ||
ipv4_fragment.c | ||
ipv6.c | ||
ipv6.h | ||
ipv6_fragment.c | ||
ipv6_mld.c | ||
ipv6_nbr.c | ||
ipv6_pe.c | ||
iterables_net_pkt_alloc_stats.ld | ||
nbr.c | ||
nbr.h | ||
net_context.c | ||
net_core.c | ||
net_if.c | ||
net_mgmt.c | ||
net_pkt.c | ||
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 |