diff options
| author | Lihua Liu <lihual@codeaurora.org> | 2018-07-05 18:10:19 +0800 |
|---|---|---|
| committer | Lihua Liu <lihual@codeaurora.org> | 2018-07-06 09:42:37 +0800 |
| commit | 6d4ba73ed9bcf677d714497b7ec0269fb5526237 (patch) | |
| tree | d9bbb7b5b62508d18985e933ffe1a1abe7ed4aba /tools/perf/scripts/python/syscall-counts.py | |
| parent | 2ae4256ed35fe8d16a9bd1037029f030d42916f4 (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
