summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLihua Liu <lihual@codeaurora.org>2018-07-05 18:10:19 +0800
committerLihua Liu <lihual@codeaurora.org>2018-07-06 09:42:37 +0800
commit6d4ba73ed9bcf677d714497b7ec0269fb5526237 (patch)
treed9bbb7b5b62508d18985e933ffe1a1abe7ed4aba /tools/perf/scripts/python/syscall-counts.py
parent2ae4256ed35fe8d16a9bd1037029f030d42916f4 (diff)
qcacmn: Fix a NULL pointer dereference issue
The pointer ol_sc or scn would be freed if athdiag_procfs_init failed in hif_sdio_probe(), then null pointer dereference occur in hif_sdio_enable_bus. Add null check before using it. In addition, keep wlan working and do not free ol_sc/scn when athdiag_procfs_init failed in hif_sdio_probe since it's just for debug. Change-Id: Ic706dcfbdf3bab432e048af359fa99913a4df436 CRs-Fixed: 2273331
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions