Messages in this thread | | | From | Paul Burton <> | Subject | Re: [PATCH] MIPS: OCTEON: fix out of bounds array access on CN68XX | Date | Mon, 5 Nov 2018 18:07:02 +0000 |
| |
Hi Aaro,
On Sat, Oct 27, 2018 at 01:46:34AM +0300, Aaro Koskinen wrote: > The maximum number of interfaces is returned by > cvmx_helper_get_number_of_interfaces(), and the value is used to access > interface_port_count[]. When CN68XX support was added, we forgot > to increase the array size. Fix that. > > Fixes: 2c8c3f0201333 ("MIPS: Octeon: Support additional interfaces on CN68XX") > Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> > --- > arch/mips/cavium-octeon/executive/cvmx-helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks - applied to mips-fixes.
Paul
| |