[PATCH v2 01/16] sandbox: net: Ensure host name is always a valid string
Tom Rini
trini at konsulko.com
Fri Jul 16 17:51:13 CEST 2021
On Thu, May 13, 2021 at 07:39:17PM -0600, Simon Glass wrote:
> At present if ifname is exactly IFNAMSIZ characters then it will result
> in an unterminated string. Fix this by using strlcpy() instead.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Coverity (CID: 316358)
> Acked-by: Ramon Fried <rfried.dev at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210716/d2e85a41/attachment.sig>
More information about the U-Boot
mailing list