Re: [PATCH v2 1/5] DFU: Do not copy the entity name over the buffer size

2022-02-11 Thread Tom Rini
On Mon, Jan 31, 2022 at 11:52:20AM +0900, Masami Hiramatsu wrote: > Use strlcpy() instead of strcpy() to prevent copying the > entity name over the name buffer size. > > Signed-off-by: Masami Hiramatsu Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH v2 1/5] DFU: Do not copy the entity name over the buffer size

2022-01-30 Thread Masami Hiramatsu
Use strlcpy() instead of strcpy() to prevent copying the entity name over the name buffer size. Signed-off-by: Masami Hiramatsu --- drivers/dfu/dfu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index af3975925a..66c41b5e76 100644 -