Openwrt/target/linux
Pavel Kubelun 5a69f59602 net: ar8216: address security vulnerabilities in swconfig & ar8216
Imported from e1aaf7ec00%5E%21/#F0
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>

CHROMIUM: net: ar8216: address security vulnerabilities in swconfig & ar8216

This patch does the following changes:
*address the security vulnerabilities in both swconfig framework and in
 ar8216 driver (many bound check additions, and turned swconfig structure
 signed element into unsigned when applicable)
*address a couple of whitespaces and indendation issues

BUG=chrome-os-partner:33096
TEST=none

Change-Id: I94ea78fcce8c1932cc584d1508c6e3b5dfb93ce9
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/236490
Reviewed-by: Toshi Kikuchi <toshik@chromium.org>
Commit-Queue: Toshi Kikuchi <toshik@chromium.org>
Tested-by: Toshi Kikuchi <toshik@chromium.org>
2016-12-01 15:47:43 +01:00
..
adm5120
adm8668
apm821xx kernel: bump to 4.4.35 2016-11-29 21:12:08 +01:00
ar7
ar71xx ar71xx: fix syntax error in /lib/ar71xx.sh 2016-11-29 19:53:47 +01:00
arc770
archs38
arm64
at91
ath25
au1000
bcm53xx kernel: bump to 4.4.35 2016-11-29 21:12:08 +01:00
brcm47xx kernel: bump to 4.4.35 2016-11-29 21:12:08 +01:00
brcm63xx
brcm2708
cns3xxx
gemini
generic net: ar8216: address security vulnerabilities in swconfig & ar8216 2016-12-01 15:47:43 +01:00
imx6
ipq806x ipq806x: refactor rpm clock controller patches 2016-12-01 15:47:43 +01:00
ixp4xx
kirkwood
lantiq kernel: bump to 4.4.35 2016-11-29 21:12:08 +01:00
layerscape kernel: bump to 4.4.35 2016-11-29 21:12:08 +01:00
malta
mcs814x
mediatek
mpc85xx
mvebu
mxs
octeon
omap
omap24xx
orion
oxnas
ppc40x
ppc44x
ramips
rb532
realview
sunxi
uml
x86
xburst
zynq
Makefile