[PATCH v2 01/14] hash: Ensure verification hex pairs are terminated

Tom Rini trini at konsulko.com
Mon Aug 2 19:51:16 CEST 2021


On Sat, Jul 24, 2021 at 09:03:28AM -0600, Simon Glass wrote:

> This function seems to assume that the chr[] variable contains zeros at
> the start, which is not always true. Use strlcpy() to be safe.
> 
> Signed-off-by: Simon Glass <sjg at chromium.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/20210802/a1aa7d27/attachment.sig>


More information about the U-Boot mailing list