diff options
| author | Emmanuel Grumbach <[email protected]> | 2021-11-30 12:59:51 +0200 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2021-12-07 12:58:05 +0200 |
| commit | 46c7b05a4f91f425d429bbe152c0185e9f8a5d18 (patch) | |
| tree | 677e25daedc1bbf45d149de01103ab9598a59600 /tools/perf/scripts/python/flamegraph.py | |
| parent | 1a4d5758692519d6de648803a6d1dbba000bfe74 (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 <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions