openwrtv4/target/linux/generic/files/drivers
Jonas Gorski 9fbd6d0ba0 b53: fix memory out of bounds access on 64 bit targets
On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45938
2015-06-10 09:21:36 +00:00
..
leds coding style cleanups, drop old kernel support 2014-06-21 10:00:07 +00:00
mtd kernel: mtdsplit: add support for FIT image 2015-03-15 19:39:27 +00:00
net/phy b53: fix memory out of bounds access on 64 bit targets 2015-06-10 09:21:36 +00:00