aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNagalakshmi <quic_nmenthul@quicinc.com>2022-11-29 22:48:35 -0800
committerMichael Bestas <mkbestas@lineageos.org>2025-02-13 01:11:46 +0200
commit801128fffd5f6d0b1c1c3774ec6d4b2f6774dae6 (patch)
tree329681816cc2917be3648407f00ba28d8f74026a /tools/perf/scripts/python/export-to-postgresql.py
parent22c38b17b8045c9705782885920b85632fa5aacb (diff)
qcacld-3.0: Fix OOB in wma_scan_roam.c
Currently in wma_extscan_hotlist_match_event_handler API, dest_hotlist get memory allocation based on numap which takes value from event->total_entries. But numap is limited to WMA_EXTSCAN_MAX_HOTLIST_ENTRIES and event->total_entries more than WMA_EXTSCAN_MAX_HOTLIST_ENTRIES can cause out of bound issue. Fix is to populate dest_hotlist->numOfAps from numap instead of event->total_entries to avoid any out of bound issue. Change-Id: I756f7e4a4dcd454508bba83d4a8bbbb139530905 CRs-Fixed: 3346781
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions