]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix read buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 7 Aug 2009 21:50:00 +0000 (23:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:46 +0000 (14:40 -0400)
commit85e955404cc4240cc79895b9c73f242f8e859655
tree132627d29a3a264b7ea774f5f17bdad87e01a962
parentbdafe6e160d347a64baa62f87474776a6d1446e0
ath9k: Fix read buffer overflow

Prevent a read of powInfo[-1] in the first iteration.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/eeprom.c