openwrtv4/target/linux/generic/files/include/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
..
platform_data generic: remove brcmfmac-sdio.h 2016-06-08 00:28:41 +02:00
ar8216_platform.h ar8216: rework/fix AR8337 MAC swap handling 2015-12-20 14:25:45 +00:00
ath5k_platform.h generic: move ath5k_platform.h from ar71xx to generic files 2010-07-15 07:36:58 +00:00
ath9k_platform.h ath9k: add support for the HSR tuner of the Ubiquiti UAP Outdoor+ 2016-11-15 18:54:06 +01:00
myloader.h ar71xx: Revert "added board support for compex wpj558" 2015-02-02 10:32:04 +00:00
routerboot.h kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h 2013-12-16 10:11:00 +00:00
rt2x00_platform.h mac80211: rt2x00: fold patches 2016-11-09 20:02:18 +01:00
rtl8366.h generic: rtl836x: add hw_reset field to struct rtl8366_smi 2012-08-02 09:54:21 +00:00
rtl8367.h generic: add driver for the the RTL8367R{B,-VB} switches 2012-10-18 07:22:56 +00:00
switch.h net: ar8216: address security vulnerabilities in swconfig & ar8216 2016-12-01 15:47:43 +01:00