diff options
author | York Sun <york.sun@nxp.com> | 2017-06-13 16:50:41 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-16 14:11:42 (GMT) |
commit | 31417f0e5abacd754e1d576095e76d0e82327ba7 (patch) | |
tree | f49d0fc6dfa4acb51326484e7c271739db26c95a /drivers/ram/stm32_sdram.c | |
parent | 19de2deb814a0e4eee0c8ada726a6f9cb698fe57 (diff) | |
download | u-boot-31417f0e5abacd754e1d576095e76d0e82327ba7.tar.xz |
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/ram/stm32_sdram.c')
0 files changed, 0 insertions, 0 deletions