]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit353d09c6ceedc1cb0c54fe5002c0ca80b6ee6e4f
treed985401bd1aafb20022583abc27dd2308fc832f8
parentf8bf65bf3688835f95f7c74f5c844a64b2743a42
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