linux/drivers/net/wireless/intel/iwlwifi/mei
Emmanuel Grumbach 46c7b05a4f iwlwifi: mvm: fix a possible NULL pointer deference
Smatch spot a possible NULL pointer dereference. Fix it.

__iwl_mvm_mac_set_key can be called with sta = NULL
Also add a NULL pointer check after memory allocation.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://lore.kernel.org/r/20211130105951.85539-1-emmanuel.grumbach@intel.com
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2021-12-07 12:58:05 +02:00
..
internal.h
iwl-mei.h
main.c iwlwifi: mvm: fix a possible NULL pointer deference 2021-12-07 12:58:05 +02:00
Makefile
net.c
sap.h
trace-data.h iwlwifi: mei: fix linking when tracing is not enabled 2021-12-05 13:55:15 +02:00
trace.c
trace.h iwlwifi: mei: fix linking when tracing is not enabled 2021-12-05 13:55:15 +02:00