From: Andy Fleming Date: Fri, 21 Jun 2013 15:48:17 -0500 Subject: [U-Boot] powerpc: mpc85xx/mpc86xx: Fix off-by-one boundary checking with ARRAY_SIZE In-Reply-To: <1369551630.4782.2.camel@phoenix> References: <1369551630.4782.2.camel@phoenix> Message-ID: <20130621204817.GC11333@right.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, May 26, 2013 at 03:00:30PM +0800, Axel Lin wrote: > If a variable is used as array subscript, it's valid value range is > 0 ... ARRAY_SIZE -1. > > Signed-off-by: Axel Lin Applied, thanks! Andy