commit | 8b75e77048a378339ada86eff548a5b253212859 | [log] [tgz] |
---|---|---|
author | Aaro Koskinen <aaro.koskinen@nsn.com> | Fri Nov 01 17:06:03 2013 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Jan 23 13:02:34 2014 +0100 |
tree | f272c76611a119a69f01238e4d91ca0f5fc97fa3 | |
parent | 59197e447108220bc0b442d4e6749e24bb3d8fef [diff] |
MIPS: cavium-octeon: fix out-of-bounds array access When booting with in-kernel DTBs, the pruning code will enumerate interfaces 0-4. However, there is memory reserved only for 4 so some other data will get overwritten by cvmx_helper_interface_enumerate(). Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com> Acked-by: David Daney <david.daney@cavium.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6102/