summaryrefslogtreecommitdiffstats
path: root/target/linux/mx2
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-11 20:51:37 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-04-11 20:51:37 +0000
commitfba1a0a074e6d00ca96597d5ed701ef0efce371e (patch)
tree7d1358021492385e4ba5d9019bba297b371b2d18 /target/linux/mx2
parent2de2c9ead215bc4fcb7fb509051a3720ead957aa (diff)
downloadmaster-31e0f0ae-fba1a0a074e6d00ca96597d5ed701ef0efce371e.tar.gz
master-31e0f0ae-fba1a0a074e6d00ca96597d5ed701ef0efce371e.tar.bz2
master-31e0f0ae-fba1a0a074e6d00ca96597d5ed701ef0efce371e.zip
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> SVN-Revision: 20811
Diffstat (limited to 'target/linux/mx2')
0 files changed, 0 insertions, 0 deletions