mirror of https://github.com/hak5/openwrt.git
fba1a0a074
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 |
||
---|---|---|
.. | ||
adm6996.c | ||
adm6996.h | ||
ar8216.c | ||
ar8216.h | ||
ip175c.c | ||
mvswitch.c | ||
mvswitch.h | ||
rtl8306.c | ||
rtl8366_smi.c | ||
rtl8366_smi.h | ||
rtl8366rb.c | ||
rtl8366s.c | ||
swconfig.c |