From: Tom Rini Date: Wed, 31 Jul 2019 23:37:00 -0400 Subject: [U-Boot] [PATCH 1/1] nand: davinci: avoid out of bounds array access In-Reply-To: <20190730212921.32016-1-xypron.glpk@gmx.de> References: <20190730212921.32016-1-xypron.glpk@gmx.de> Message-ID: <20190801033700.GB6403@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 30, 2019 at 11:29:21PM +0200, Heinrich Schuchardt wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: