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 /target/linux/s3c24xx | |
parent | 2de2c9ead215bc4fcb7fb509051a3720ead957aa (diff) | |
download | mtk-20170518-fba1a0a074e6d00ca96597d5ed701ef0efce371e.zip mtk-20170518-fba1a0a074e6d00ca96597d5ed701ef0efce371e.tar.gz mtk-20170518-fba1a0a074e6d00ca96597d5ed701ef0efce371e.tar.bz2 |
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/s3c24xx')
0 files changed, 0 insertions, 0 deletions