diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-07-30 23:29:21 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-31 13:08:07 -0400 |
commit | 51443f57d868dc622eb9ad367ac7f7a173ed986e (patch) | |
tree | 430bbea5f437115dd4feda445c1255b39c0dc2a7 /common/hash.c | |
parent | 3380d1c131f376b4bd02d08a96e29af24c846601 (diff) |
nand: davinci: avoid out of bounds array access
The array bounds have to be checked before accessing the array element.
Identified by cppcheck.
Fixes: 67ac6ffaeefb ("mtd: nand: davinci: add opportunity to write keystone U-boot image")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'common/hash.c')
0 files changed, 0 insertions, 0 deletions