aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-08-02 09:44:12 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 14:40:35 -0400
commit1e3d31c589a6bcb05cd7fccccf9657c27b0e3dd1 (patch)
treee8a3cee9d0e1680a06db7b557bae254d465c912d /block
parent1c4e9ab3f1cc458306b3b910000371ba4f71c4d2 (diff)
libertas: Read buffer overflow
Check whether index is within bounds before testing the element. (also includes "Libertas: Association request to the driver failed" The size of the tmp buffer was too small, causing a regression rates->rates has an arraysize of 1, so a memcpy with MAX_RATES (14) was already causing reads out of bounds. In get_common_rates() the memset/memcpy can be moved upwards. -- JWL) Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Tested-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions