diff options
| author | 2021-11-30 12:59:51 +0200 | |
|---|---|---|
| committer | 2021-12-07 12:58:05 +0200 | |
| commit | 46c7b05a4f91f425d429bbe152c0185e9f8a5d18 (patch) | |
| tree | 677e25daedc1bbf45d149de01103ab9598a59600 /scripts | |
| parent | iwlwifi: mei: Fix spelling mistake "req_ownserhip" -> "req_ownership" (diff) | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
