Files
i2som-imx-linux/net/mac80211
Adrien Schildknecht 82cb8352e3 mac80211: fix invalid read in minstrel_sort_best_tp_rates()
commit f5eeb5fa19 upstream.

At the last iteration of the loop, j may equal zero and thus
tp_list[j - 1] causes an invalid read.
Change the logic of the loop so that j - 1 is always >= 0.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-13 09:07:48 -07:00
..
2015-01-27 11:07:35 +01:00
2015-01-27 11:09:13 +01:00
2015-01-27 11:09:13 +01:00
2015-02-24 10:51:06 +01:00
2015-03-30 10:48:26 +02:00
2015-03-30 10:47:56 +02:00
2015-05-11 14:51:29 +02:00