diff options
author | York Sun <york.sun@nxp.com> | 2017-06-13 09:50:41 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-16 10:11:42 -0400 |
commit | 31417f0e5abacd754e1d576095e76d0e82327ba7 (patch) | |
tree | f49d0fc6dfa4acb51326484e7c271739db26c95a /drivers/bootcount | |
parent | 19de2deb814a0e4eee0c8ada726a6f9cb698fe57 (diff) |
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 <york.sun@nxp.com>
CC: Joe Hershberger <joe.hershberger@ni.com>
CC: Tom Rini <trini@konsulko.com>
CC: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reported-by: Coverity (CID: 163251)
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/bootcount')
0 files changed, 0 insertions, 0 deletions