mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
615828721a
Both the Linux kernel and libbsd agree that strlcpy() should always return strlen(src) and not include the NUL termination. The incorrect U-Boot implementation makes it impossible to check the return value for truncation, and breaks code written with the usual implementation in mind (for example, fdtdec_add_reserved_memory() was subtly broken). I reviewed all callers of strlcpy() and strlcat() and fixed them according to my understanding of the intended function. This reverts commit |
||
---|---|---|
.. | ||
ad401 | ||
beelink-s922x | ||
jethub-j80 | ||
jethub-j100 | ||
odroid-go-ultra | ||
odroid-n2 | ||
p200 | ||
p201 | ||
p212 | ||
q200 | ||
s400 | ||
sei510 | ||
sei610 | ||
u200 | ||
vim3 | ||
w400 |