diff options
| author | Rongjing Liao <liaor@codeaurora.org> | 2018-11-16 12:23:28 +0800 |
|---|---|---|
| committer | Rongjing Liao <liaor@codeaurora.org> | 2018-11-19 14:58:36 +0800 |
| commit | 8fe1e7c686ad448d1eaab62dcaa4d527a2761d13 (patch) | |
| tree | 512e3665318d88fd2ead036778caefd45efa9f48 /tools/perf/scripts/python/cs-trace-disasm.py | |
| parent | e31bab2e5361296c9e5a04ed1fb4283dc73e31a8 (diff) | |
qcacld-2.0: Fix OOB read in scan_id get
Propagation from qcacld-3.0 to qcacld-2.0
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: 2350711
Diffstat (limited to 'tools/perf/scripts/python/cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
