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 | fba1a0a074e6d00ca96597d5ed701ef0efce371e (patch) | |
tree | 7d1358021492385e4ba5d9019bba297b371b2d18 /docs | |
parent | 2de2c9ead215bc4fcb7fb509051a3720ead957aa (diff) | |
download | upstream-fba1a0a074e6d00ca96597d5ed701ef0efce371e.tar.gz upstream-fba1a0a074e6d00ca96597d5ed701ef0efce371e.tar.bz2 upstream-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 'docs')
0 files changed, 0 insertions, 0 deletions