Files
linux/drivers
Pavel Roskin 6778e220c0 ath9k: stop on rates with idx -1 in ath9k rate control's .tx_status
commit 2504a6423b upstream.

Rate control algorithms are supposed to stop processing when they
encounter a rate with the index -1.  Checking for rate->count not being
zero is not enough.

Allowing a rate with negative index leads to memory corruption in
ath_debug_stat_rc().

One consequence of the bug is discussed at
https://bugzilla.redhat.com/show_bug.cgi?id=768639

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-29 16:34:28 -08:00
..
2012-02-06 09:24:01 -08:00
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-01-25 17:24:44 -08:00
2012-01-06 14:13:48 -08:00
2011-11-21 14:31:14 -08:00