]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix read outside array bounds
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 7 Jul 2012 13:07:13 +0000 (15:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 15:42:52 +0000 (11:42 -0400)
commitbd0e23e3b48287573ba73fc5a46ddb299606c83d
treed985401bd1aafb20022583abc27dd2308fc832f8
parent6afd5234153babde284be17e49294255122d217d
mac80211: fix read outside array bounds

ieee802_1d_to_ac is defined as a const int[8],
but the tid parameter has a range from 0 to 15.

Cc: stable@vger.kernel.org
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c