]> git.dujemihanovic.xyz Git - u-boot.git/commit
pxe: Use strlcpy() instead of strcpy() in label_boot()
authorSimon Glass <sjg@chromium.org>
Fri, 15 Dec 2023 04:19:08 +0000 (21:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 10 Apr 2024 23:04:25 +0000 (17:04 -0600)
commit92ee1f5e1060ab059c3f0e47f8ff369981026739
tree39acf26777b62f98b0937c03b3d0a6a272c82b83
parentc30e0842b152daa2dfb15bc642bb4d296016d4ac
pxe: Use strlcpy() instead of strcpy() in label_boot()

The intention here is to nul-terminate the result string, so use the
correct function for that.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/pxe_utils.c