]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: avoid use-after-free on iwl_mvm_d0i3_enable_tx()
authorEliad Peller <eliad@wizery.com>
Tue, 14 Apr 2015 08:36:23 +0000 (11:36 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 21 May 2015 19:36:46 +0000 (22:36 +0300)
commit292208914d8ca5a41cf68c2f1d2810a2ea2044e9
treed62a919a34a487fa40473389078f7d8a1266214d
parenta500e469ead055f35c7b2d0a1104e1bd58e34e70
iwlwifi: mvm: avoid use-after-free on iwl_mvm_d0i3_enable_tx()

qos_seq points (to a struct) inside the command response data.

Make sure to free the response only after qos_seq is not
needed anymore.

Reported-by: Heng Luo <heng.luo@intel.com>
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/ops.c