summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2018-05-15 12:50:19 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-16 08:45:09 -0700
commit28c410d43f52c38de0354f7ac894ef68d37ece6a (patch)
tree38ab05e801127e7eff64781019641f665b13b73a /tools/perf/scripts/python
parent44549429b2bb7c01be09b88b3aac7a95c500d3ab (diff)
qcacld-3.0: Avoid NULL pointer access in get version api
There is a possibility of NULL pointer access in hdd_wlan_get_version api as the check for the version pointer and version len is incorrect. If the version pointer is NULL and version_len is non zero, it will result in NULL pointer derefernce. To address this issue update the NULL pointer check to return in both the cases whether the pointer is NULL or the version_len is NULL. Change-Id: Iee3ef6d31fac1b5ede4ac3a762157d3c48d5ffc5 CRs-Fixed: 2242148
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions