mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 03:21:57 +00:00
Replaced net_bytes_from_str in hostname_get test by a new function that converts the unique part of the hostname in a byte array. net_bytes_from_str can not be used as it assumes that the string input is of the format "xx:xx:xx:xx:xx:xx" where as the unique part of the hostname is a MAC address string without colons. If net_bytes_from_str is used this could result in buffer overrun on the input string. Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu> |
||
---|---|---|
.. | ||
6lo | ||
all | ||
arp | ||
buf | ||
checksum_offload | ||
context | ||
dhcpv4 | ||
ethernet_mgmt | ||
hostname | ||
icmpv6 | ||
ieee802154 | ||
iface | ||
ip-addr | ||
ipv6 | ||
ipv6_fragment | ||
lib | ||
mgmt | ||
mld | ||
neighbor | ||
net_pkt | ||
ppp/driver | ||
promiscuous | ||
ptp/clock | ||
route | ||
shell | ||
socket | ||
tcp | ||
traffic_class | ||
trickle | ||
tx_timestamp | ||
udp | ||
utils | ||
vlan |