]> 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)
commitc441eaa01a602fa3abb038e4a480737a86871ea4
treed985401bd1aafb20022583abc27dd2308fc832f8
parentcffd73e3238169724e71e4140bee7420a1c2d450
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