diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-04-11 20:51:37 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-04-11 20:51:37 +0000 |
commit | ffc26f837f2a76e9bed7635fc6dcf0df3f3fdb5c (patch) | |
tree | 74b461f817e9248275cdec31f429a8126239c33c /target/linux/mx2/patches-2.6.34/030-lzma.patch | |
parent | c7dc060be4f0c1b078fd0b371dc8c34c0d5c0d0c (diff) | |
download | upstream-ffc26f837f2a76e9bed7635fc6dcf0df3f3fdb5c.tar.gz upstream-ffc26f837f2a76e9bed7635fc6dcf0df3f3fdb5c.tar.bz2 upstream-ffc26f837f2a76e9bed7635fc6dcf0df3f3fdb5c.zip |
[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/mx2/patches-2.6.34/030-lzma.patch')
0 files changed, 0 insertions, 0 deletions