diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-06-10 09:21:36 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-06-10 09:21:36 +0000 |
commit | fed4eb49f02c31467dbc78dd6038926ed606943d (patch) | |
tree | 8e247e5d9c2f4f0f894f4ea5abf5de26bf07f2e0 /package/network/config/firewall/files | |
parent | 101fe68b5a72cf24041bc85a3b03f282e0ae082b (diff) | |
download | master-187ad058-fed4eb49f02c31467dbc78dd6038926ed606943d.tar.gz master-187ad058-fed4eb49f02c31467dbc78dd6038926ed606943d.tar.bz2 master-187ad058-fed4eb49f02c31467dbc78dd6038926ed606943d.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45938 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/firewall/files')
0 files changed, 0 insertions, 0 deletions