]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cw1200: read beyond end of array in debug code
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Jun 2013 07:43:00 +0000 (10:43 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Jun 2013 18:41:26 +0000 (14:41 -0400)
commitf28bc92c9530fe39eccfcff392879f19bd234578
treee921a736f67585ceda56149f87dd7ebdb9857056
parentaa63e18e3ddad4eb15d4af34ae66e7f4dcc7a6d0
cw1200: read beyond end of array in debug code

This has only one caller and rates[] is an array with
IEEE80211_TX_MAX_RATES (4) elements.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/cw1200/txrx.c