linux/drivers/net/wireless/intel
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
..
ipw2x00 ipw2200: prepare for const netdev->dev_addr 2021-10-20 12:39:45 +03:00
iwlegacy Core: 2021-11-02 06:20:58 -07:00
iwlwifi iwlwifi: mvm: fix a possible NULL pointer deference 2021-12-07 12:58:05 +02:00
Kconfig
Makefile