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-26 10:45:31 +00:00
2010-03-11 09:50:11 +00:00
2010-03-26 16:07:24 +00:00
2010-04-10 16:50:20 +00:00
2010-03-11 09:50:11 +00:00
2010-04-09 19:26:57 +00:00
2010-03-26 10:45:25 +00:00
2010-03-26 10:45:25 +00:00
2010-03-26 19:53:30 +00:00
2010-04-09 18:43:36 +00:00
2010-04-10 14:29:01 +00:00
2010-03-26 10:45:25 +00:00
2009-12-21 03:26:09 +00:00
2010-02-11 08:55:15 +00:00
2010-03-26 10:45:25 +00:00
2010-03-26 10:45:25 +00:00
2010-04-05 22:38:40 +00:00
2010-04-11 20:51:37 +00:00
2010-03-11 09:50:11 +00:00
2010-04-10 20:11:28 +00:00
2010-03-26 10:45:25 +00:00
2010-04-11 09:03:10 +00:00
2010-03-11 09:50:11 +00:00
2010-04-10 21:02:51 +00:00
2010-03-11 09:50:11 +00:00
2010-03-11 09:50:11 +00:00
2010-04-10 18:37:34 +00:00
2010-03-11 09:50:11 +00:00
2010-03-26 10:45:25 +00:00
2010-03-26 10:45:25 +00:00
2010-03-26 10:45:25 +00:00
2010-03-26 10:45:25 +00:00
2010-03-28 03:29:22 +00:00
2010-03-26 10:45:25 +00:00
2010-03-26 17:08:55 +00:00
2010-04-11 17:47:30 +00:00
2010-03-26 10:45:25 +00:00
2010-04-10 18:44:44 +00:00
2010-03-11 09:50:11 +00:00
2010-03-26 10:45:25 +00:00
2010-03-11 09:50:11 +00:00
2010-03-14 17:20:45 +00:00
2010-04-11 12:36:55 +00:00
2010-04-11 16:24:06 +00:00
2008-08-16 16:59:47 +00:00