Skip to content
Commit 51443f57 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Tom Rini
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 3380d1c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment