airo: Buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 25 Jul 2009 21:02:32 +0000 (23:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Jul 2009 19:19:36 +0000 (15:19 -0400)
commit3d0ccd021b23c18ea2d399fe4a43c955485c765c
tree9d82b6a49f8cb290adfdddb7d7e43fe1ad64135f
parent2a21f86917f7a9fe13b180e895a816871a234dee
airo: Buffer overflow

SSID_rid has space for only 3 ssids.
txPowerLevels[i] is read before the bounds check for i

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c