summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorgaurank kathpalia <gkathpal@codeaurora.org>2018-09-19 17:10:05 +0530
committernshrivas <nshrivas@codeaurora.org>2018-10-24 08:05:18 -0700
commitf1733339c2e70d50e436845a6c9cac41c9eaf908 (patch)
treea1fcf076f0d68bd049d795ce61c75c15167a7ac7 /tools/perf/scripts/python
parent5cc34f6b4545fec95d3031f247682a961585725d (diff)
qcacld-3.0: Fix OOB read in scan_id get
In wma_extscan_find_unique_scan_ids() the TLV structures for param_buf are pulled from the WMI message. wma_extscan_find_unique_scan_ids parses the data (param_buf) which is obtained from the firmware. This parsing logic of rssi_list does not consider the size of the list and thus results in an OOB access. Fix is loop for the num_rssi_list and not the num of entries Change-Id: Icf79b59a17b66ac858222b79589641787022572d CRs-Fixed: 2316805
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions