summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorlifeng <lifeng@codeaurora.org>2018-07-13 15:00:04 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-07-15 19:41:33 -0700
commit638227ac26b0e635e51c568259ccbffc28e64f0b (patch)
treec583b75a49eb94374bad67d375e03ef7051dafc0 /tools/perf/scripts/python
parentf77e2cd9a2412bbe72a95f40bd84679127e9f113 (diff)
qcacld-2.0: Fix OOB write in wma_extscan_change_results_event_handler
propagation from qcacld-3.0 to qcacld-2.0 The routine wma_extscan_change_results_event_handler sends the ext scan results to upper layers. This contains the bssid info, rssi values of different APs that are scanner. If the num_rssi_samples is negative or greater than UINT32_MAX,then an OOB write could happen. Add check to ensure rssi_num is not negative or exceeds UINT32_MAX. Also make sure the numap value is not negative. Change-Id: If82c4fd1193c45d38bd4495c187a406deb25acad CRs-Fixed: 2278276
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions