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

Tom Rini trini at konsulko.com
Fri Feb 11 18:06:29 CET 2022


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 <masami.hiramatsu at linaro.org>

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/20220211/2946ce7f/attachment-0001.sig>


More information about the U-Boot mailing list