diff options
| author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-12-21 12:42:43 +0300 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2010-12-22 23:43:28 +0300 |
| commit | d0ce2d170585b7061a08af061d64ebb08c6782dd (patch) | |
| tree | bc439416f6ff79eebef861c54ab0edcf3a1b2203 /tools/perf/scripts/python/sctop.py | |
| parent | 0207c0c51a37659a92232e665f2a7fadec170556 (diff) | |
| download | linux-d0ce2d170585b7061a08af061d64ebb08c6782dd.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
