Thread (1 message) 1 message, 1 author, 2015-08-13

Re: [PATCH] mac80211: fix invalid read in minstrel_sort_best_tp_rates()

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2015-08-13 11:53:18
Also in: linux-wireless, lkml

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 <redacted>
Applied, I added Cc stable.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help