commit | b7fcb5c4a4c27da2f6d86cb03d18687e537442cf | [log] [tgz] |
---|---|---|
author | Bob Copeland <me@bobcopeland.com> | Mon Apr 27 22:12:43 2009 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Apr 28 15:59:48 2009 -0400 |
tree | 45848311dcd1dd1a116edc48d18586825d7c047a | |
parent | 74aa9be0ea0ffeb233f45c39f3cf594b68bbbb89 [diff] |
ath5k: fix buffer overrun in rate debug code char bname[5] is too small for the string "X GHz" when the null terminator is taken into account. Thus, turning on rate debugging can crash unless we have lucky stack alignment. Cc: stable@kernel.org Reported-by: Paride Legovini <legovini@spiro.fisica.unipd.it> Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>