Files
android_kernel_xiaomi_sm8450/drivers/net/wireless/intel/iwlwifi/mvm
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
..
2019-01-29 16:10:31 +02:00
2019-02-14 11:29:45 +02:00
2019-02-14 11:29:45 +02:00
2019-02-14 11:29:43 +02:00
2019-02-14 11:29:45 +02:00
2019-02-14 11:29:45 +02:00
2019-01-25 20:57:20 +02:00
2019-02-04 12:28:06 +02:00
2019-02-14 11:29:44 +02:00
2019-02-14 11:29:45 +02:00
2019-02-04 12:27:20 +02:00
2019-01-25 20:57:21 +02:00