[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1439466790.2114.21.camel@sipsolutions.net>
Date: Thu, 13 Aug 2015 13:53:10 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Adrien Schildknecht <adrien+dev@...ischi.me>, davem@...emloft.net,
thomas@....t-labs.tu-berlin.de
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mac80211: fix invalid read in
minstrel_sort_best_tp_rates()
On Tue, 2015-07-28 at 10:30 +0200, Adrien Schildknecht wrote:
> At the last iteration of the loop, j may equal zero and thus
> tp_list[j - 1] causes an invalid read.
> Changed the logic of the loop so that j - 1 is always >= 0.
>
> Signed-off-by: Adrien Schildknecht <adrien+dev@...ischi.me>
>
Applied, I added Cc stable.
johannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists