[U-Boot] [U-Boot, v4, 2/2] image: Protect against overflow in unknown_msg()
Tom Rini
trini at konsulko.com
Mon Nov 7 02:13:47 CET 2016
On Mon, Oct 31, 2016 at 10:21:09AM -0600, Simon Glass wrote:
> Coverity complains that this can overflow. If we later increase the size
> of one of the strings in the table, it could happen.
>
> Adjust the code to protect against this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Coverity (CID: 150964)
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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161106/0418727b/attachment.sig>
More information about the U-Boot
mailing list