Files
u-boot/net
Jerome Forissier a37064cb2e net: lwip: wget: fix legacy syntax
Commit 356011f7ac ("lwip: fix code style issues") has inadvertently
broken the support for the legacy syntax:

 => wget 192.168.0.16:test.bin
 invalid uri, no file path
 Invalid URL. Use http(s)://

The reason is two calls to strncpy() were replaced by strlcpy() without
paying attention to the fact that they are not equivalent in the present
case. Since we are using a character counter (n) and since we do not
depend on having a properly null-terminated string at each step in the
parsing, strlcpy() is not justified and strncpy() is the right tool for
the job. So use it again.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
2024-11-30 11:52:47 -06:00
..
2024-11-30 11:52:47 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2023-06-14 15:48:45 -04:00
2024-07-15 12:12:18 -06:00
2024-10-16 11:11:57 -06:00
2023-12-21 08:54:37 -05:00
2024-05-05 11:21:39 -03:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2018-07-02 14:14:20 -05:00