diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-11 20:51:37 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-11 20:51:37 +0000 |
commit | b02fa11a17a01d456ef0b71fb9d3725a6e0ed264 (patch) | |
tree | 74b461f817e9248275cdec31f429a8126239c33c /target/linux/ifxmips | |
parent | 5788420c902c3adc3ff1df3e4b854de6cf38f21e (diff) |
[kernel] swconfig: Check vlan/port indexes for validity.
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.
This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20811 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips')
0 files changed, 0 insertions, 0 deletions