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
..
2016-10-19 12:09:45 +02:00
2016-09-04 13:35:11 +02:00
2016-11-29 21:12:08 +01:00
2016-11-16 10:54:33 +01:00
2016-11-29 21:12:08 +01:00
2016-11-29 21:12:08 +01:00
2016-10-26 12:37:46 +02:00
2016-11-29 21:12:08 +01:00
2016-11-29 21:12:08 +01:00
2016-09-04 13:35:11 +02:00
2016-09-04 13:35:11 +02:00
2016-09-04 13:35:11 +02:00
2016-11-19 11:45:29 +01:00
2016-10-05 01:18:24 +02:00