[U-Boot] [PATCH] cmd: ethsw: Fix out-of-bounds error

Tom Rini trini at konsulko.com
Tue Jun 13 19:24:00 UTC 2017


On Tue, Jun 13, 2017 at 09:50:41AM -0700, York Sun wrote:

> The for loop in cmd_keywords_opt_check() seems to use wrong array to
> set boundary, reported by Coverity analysis.
> 
> Signed-off-by: York Sun <york.sun at nxp.com>
> CC: Joe Hershberger <joe.hershberger at ni.com>
> CC: Tom Rini <trini at konsulko.com>
> CC: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>

Reported-by: Coverity (CID: 163251)
Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
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/20170613/e3e1d5ad/attachment.sig>


More information about the U-Boot mailing list