1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 22:23:08 +02:00
openwrt-xburst/target/linux/generic-2.6/files/drivers
juhosg 445022bc75 backfire: [kernel] swconfig: Check vlan/port indexes for validity. (backport of r20811)
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/branches/backfire@21846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 05:42:38 +00:00
..
char deduplicate kernel source files from 2.6.30-2.6.32 by moving them to generic files/ 2009-12-25 10:34:21 +00:00
input/misc kernel: change debounce logic in the gpio-buttons driver 2010-01-13 10:18:24 +00:00
leds deduplicate kernel source files from 2.6.30-2.6.32 by moving them to generic files/ 2009-12-25 10:34:21 +00:00
mtd [kernel] generic-2.6: make MyLoader parser compatible with the old partition tables 2009-01-23 11:54:44 +00:00
net/phy backfire: [kernel] swconfig: Check vlan/port indexes for validity. (backport of r20811) 2010-06-20 05:42:38 +00:00