]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix out of bounds access to tid_to_mac80211_ac
authorEyal Shapira <eyal@wizery.com>
Wed, 31 Dec 2014 15:58:23 +0000 (17:58 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 5 Jan 2015 09:02:35 +0000 (11:02 +0200)
commit5380a273451a818c478e47cb6443a9118a2addd1
tree8e13625be9c64a6947e0df1897d7690ad08f1859
parentf221467a9037c2520a4074a4437e87f3dd24dd6e
iwlwifi: mvm: fix out of bounds access to tid_to_mac80211_ac

When tid_tspec was set to IWL_TID_NON_QOS (8) this led to an
out of bounds access to the tid_to_mac80211_ac array whose size
is 7. Fix this.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/tx.c