[PATCH v3 09/46] boot: Use strlcpy() in label_boot()

Simon Glass sjg at chromium.org
Fri Dec 20 05:06:39 CET 2024


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v2)

Changes in v2:
- Split out strlcpy() change into new patch

 boot/pxe_utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to sjg/master, thanks!


More information about the U-Boot mailing list