linux/drivers/net/wireless/intel
Avraham Stern cee859fe9a iwlwifi: mvm: Fix possible NULL pointer dereference
iwl_mvm_te_clear_data() is called for cleanup in case sending
the HOT_SPOT_CMD failed. However, in case sending the command
caused a fw error and restart (e.g. if the command is not supported)
then the te_data pointer may no longer be valid, which leads to
a NULL pointer dereference.

Fix it by checking that the te_data pointer is not NULL before
dereferencing it.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2019-02-14 11:29:46 +02:00
..
ipw2x00 wireless-drivers-next patches for 4.21 2018-12-20 16:47:10 -08:00
iwlegacy iwlegacy: no need to check return value of debugfs_create functions 2019-02-01 14:28:59 +02:00
iwlwifi iwlwifi: mvm: Fix possible NULL pointer dereference 2019-02-14 11:29:46 +02:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile