1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-02 09:01:18 +02:00
openwrt/target/linux/generic-2.6/files
Florian Fainelli fba1a0a074 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>

SVN-Revision: 20811
2010-04-11 20:51:37 +00:00
..
arch/mips/fw/myloader
crypto/ocf
drivers swconfig: Check vlan/port indexes for validity. 2010-04-11 20:51:37 +00:00
fs/yaffs2 files/fs/yaffs2: revert changes in r15242 that break patching on 2.6.28 2009-04-18 06:29:23 +00:00
include/linux kernel: add driver for the RTL8366RB switch 2010-02-24 13:39:02 +00:00