[U-Boot] [PATCH 1/1] siemens: avoid out of bound access
Tom Rini
trini at konsulko.com
Mon Sep 2 14:13:03 UTC 2019
On Thu, Aug 22, 2019 at 09:58:26PM +0200, Heinrich Schuchardt wrote:
> char num[1];
> sprintf(num, "%d", i);
>
> leads to a buffer overrun.
>
> Simplify the overly complex coding.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Heiko Schocher <hs at denx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190902/b7dd7f35/attachment.sig>
More information about the U-Boot
mailing list