nand: davinci: avoid out of bounds array access
The array bounds have to be checked before accessing the array element. Identified by cppcheck. Fixes: 67ac6ffa ("mtd: nand: davinci: add opportunity to write keystone U-boot image") Signed-off-by:Heinrich Schuchardt <xypron.glpk@gmx.de>
Loading
Please register or sign in to comment