]> Git Repo - J-u-boot.git/commit
cmd: ethsw: Fix out-of-bounds error
authorYork Sun <[email protected]>
Tue, 13 Jun 2017 16:50:41 +0000 (09:50 -0700)
committerTom Rini <[email protected]>
Fri, 16 Jun 2017 14:11:42 +0000 (10:11 -0400)
commit31417f0e5abacd754e1d576095e76d0e82327ba7
treef49d0fc6dfa4acb51326484e7c271739db26c95a
parent19de2deb814a0e4eee0c8ada726a6f9cb698fe57
cmd: ethsw: Fix out-of-bounds error

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 <[email protected]>
CC: Joe Hershberger <[email protected]>
CC: Tom Rini <[email protected]>
CC: Prabhakar Kushwaha <[email protected]>
Reported-by: Coverity (CID: 163251)
Reviewed-by: Tom Rini <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
cmd/ethsw.c
This page took 0.03412 seconds and 4 git commands to generate.