From: Johannes Berg <johannes@sipsolutions.net>
To: Adrien Schildknecht <adrien+dev@schischi.me>,
davem@davemloft.net, thomas@net.t-labs.tu-berlin.de
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mac80211: fix invalid read in minstrel_sort_best_tp_rates()
Date: Thu, 13 Aug 2015 13:53:10 +0200 [thread overview]
Message-ID: <1439466790.2114.21.camel@sipsolutions.net> (raw)
In-Reply-To: <1438072216-19228-1-git-send-email-adrien+dev@schischi.me> (sfid-20150728_103052_520611_9034FF48)
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@schischi.me>
>
Applied, I added Cc stable.
johannes
prev parent reply other threads:[~2015-08-13 11:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 8:30 [PATCH] mac80211: fix invalid read in minstrel_sort_best_tp_rates() Adrien Schildknecht
2015-08-13 11:53 ` Johannes Berg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439466790.2114.21.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=adrien+dev@schischi.me \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=thomas@net.t-labs.tu-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).