]> git.baikalelectronics.ru Git - kernel.git/commit
orinoco: correct key bounds check in orinoco_hw_get_tkip_iv
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Aug 2009 16:09:26 +0000 (12:09 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Aug 2009 17:38:34 +0000 (13:38 -0400)
commit9b5e091f08fc773651a94fdcbec138f41db47bb6
treec9557455099ced436ae0c24e5b1b8dbd3cc24fcf
parentf9b8ed63d54546aff5048271c05c369a13adc7d5
orinoco: correct key bounds check in orinoco_hw_get_tkip_iv

If key is 4 that is an array out of bounds.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/hw.c