Home
last modified time | relevance | path

Searched hist:d0ce2d170585b7061a08af061d64ebb08c6782dd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.cdiff d0ce2d170585b7061a08af061d64ebb08c6782dd Tue Dec 21 03:42:43 CST 2010 Vasanthakumar Thiagarajan <vasanth@atheros.com> ath9k_hw: Fix bug in eeprom data length validation for AR9485

The size of the eeprom data is 1088 bytes for AR9485. But
a sanity check is done against 4K which would result in a
'potential read past the end of the buffer' smatch complaint.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>