aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSunil Ravi <sunilravi@google.com>2018-10-10 14:43:22 -0700
committerMiguel de Dios <migueldedios@google.com>2019-01-10 19:36:46 +0000
commitd7af6a17f0fe3a94107efb1b1afdde9fb160c532 (patch)
tree5a3f88cfbdd0f2ec471fe5f5c3f96cfe01a0382b /tools/perf/util/scripting-engines/trace-event-python.c
parent761f350153108ee01b96a180fd8b6b2714ce8e1b (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. Bug: 111127853 Test: Regression test CRs-Fixed: 2278276 Change-Id: If82c4fd1193c45d38bd4495c187a406deb25acad Signed-off-by: Sunil Ravi <sunilravi@google.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions