Heinrich Schuchardt 51443f57d8 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>
2019-07-31 13:08:07 -04:00
..
2019-07-09 07:00:23 +02:00
2018-10-02 22:12:32 +05:30
2019-06-06 17:40:14 +02:00
2018-10-02 22:12:31 +05:30
2008-09-09 11:48:53 +02:00