aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorAvraham Stern <[email protected]>2018-12-24 10:59:13 +0200
committerLuca Coelho <[email protected]>2019-02-14 11:29:46 +0200
commitcee859fe9ae33d0ed3edcc018ee4cc3081907d60 (patch)
treed31dd48ad072eb3359719bf32405520305b22346 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent4c816b2132aa287a1940125e7c33139710d9cf17 (diff)
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 <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions