]> git.baikalelectronics.ru Git - kernel.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)
commita696b8bf9c96a0cceefb6cf7919d6c110ec7b8a7
treee921a736f67585ceda56149f87dd7ebdb9857056
parent5a6642400d2ec4e93c1d9d2c037c500ac3ad841d
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