Re: [OpenWrt-Devel] [PATCH] swconfig: Check vlan/port indexes for validity.

2010-04-11 Thread Florian Fainelli
Le vendredi 9 avril 2010 22:35:54, Jonas Gorski a écrit : > 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 intentiona

[OpenWrt-Devel] [PATCH] swconfig: Check vlan/port indexes for validity.

2010-04-09 Thread Jonas Gorski
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 --- .../generi