1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-23 21:41:06 +02:00
florian b02fa11a17 [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
2010-04-11 20:51:37 +00:00
..
2010-03-17 16:03:08 +00:00
2010-02-15 20:03:18 +00:00