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

Tom Rini trini at konsulko.com
Fri Jun 16 17:11:40 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>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>

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/20170616/de1c2b6f/attachment.sig>


More information about the U-Boot mailing list