aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2018-05-24 19:05:48 +0530
committerAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2018-05-24 19:51:08 +0530
commit1980383034c992bdc72978985494228140bafe2e (patch)
tree71e14d2242531e71b38217a86fb6d3c4cf080d43 /tools/perf/scripts/python/syscall-counts.py
parent2eb7221f4b1ed12c1cc35a11cd437725b73aaa70 (diff)
wlan: NULL pointer access in wlan_hdd_free_cache_channels
original_channels in hdd context is getting allocated when set disable channel command is issued and getting freed in wlan_hdd_free_cache_channels from hdd_wlan_exit api. When wlan_hdd_free_cache_channels api is invoked from hdd_wlan_exit api without invoking set disable channel command, it tries to access the "original_channels" pointer which is not allocated and it leads to NULL pointer access. To fix this issue, add a check to validate "original_channels" pointer in wlan_hdd_free_cache_channels api before accessing it. Change-Id: Id703ad42e39e7de658d4f7c2383f39a69f21047a CRs-Fixed: 2248326
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions