Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1206763
| From | Johannes Berg <johannes@sipsolutions.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mac80211: fix invalid read in minstrel_sort_best_tp_rates() |
| Date | 2015-08-13 14:00 +0200 |
| Message-ID | <pWZkT-2px-21@gated-at.bofh.it> (permalink) |
| References | <pR8Ay-3S2-29@gated-at.bofh.it> <pWZkT-2px-23@gated-at.bofh.it> <pR8Ay-3S2-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] mac80211: fix invalid read in minstrel_sort_best_tp_rates() Johannes Berg <johannes@sipsolutions.net> - 2015-08-13 14:00 +0200
csiph-web