From: Bob Copeland Date: Tue, 28 Apr 2009 02:12:43 +0000 (-0400) Subject: ath5k: fix buffer overrun in rate debug code X-Git-Tag: v2.6.30-rc5~39^2~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7fcb5c4a4c27da2f6d86cb03d18687e537442cf;p=pandora-kernel.git 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 Signed-off-by: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed