boot: Use strlcpy() in label_boot()
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:25:03 +0000 (17:25 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
commit0fd3ed1cd73d6b262c204c27cbe6dc1ad1c09e91
tree535b3e973122439c9d9e41a40266c3a6e471b0de
parentc73da92304280b229e3d8dfd565fae5a24fe3ce8
boot: Use strlcpy() in label_boot()

This function is recommended instead of strncpy() since it always
terminates the string.

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