summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorgaolez <gaolez@codeaurora.org>2018-05-11 15:23:10 +0800
committernshrivas <nshrivas@codeaurora.org>2018-06-06 08:27:03 -0700
commit656c17c101deafd216b26001af90134ddde7a08f (patch)
treedcd5ef1dbc62d45215d9d214784b86d71915b710 /tools/perf/scripts/python
parent7080dc419a352a1d3ad9f1c2a584ccd5d6aa5838 (diff)
qcacld-3.0: fix possible OOB read in SIOCSIWRATE WEXT ioctl handler
The values used to dictate the end of the for loop is great than the size of array supp_rates, this will cause an OOB read when loop through supp_rates. So need modify the size of array supp_rates. There's also a functional issue in that the second call to sme_cfg_get_str() overwrites the lower values of the first call, thus not ever allowing the lower channel rates of A to ever be valid. So need update the read buffer address for the second sme_cfg_get_str(). CRs-Fixed: 2229620 Change-Id: I27091a9f48d1eb4d6806ebcfd2310fe848af408f
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions