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> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||