arm/mach-vexpress: array accessed out of bounds
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 14 Apr 2014 07:42:01 +0000 (08:42 +0100)
committerPawel Moll <pawel.moll@arm.com>
Thu, 24 Apr 2014 10:41:12 +0000 (11:41 +0100)
dcscb_allcpus_mask is an array of size 2.

The index variable cluster has to be checked against this limit
before accessing the array.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
arch/arm/mach-vexpress/dcscb.c

Simple merge