diff options
| author | gaolez <gaolez@codeaurora.org> | 2018-06-08 20:14:49 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-06-20 01:17:08 -0700 |
| commit | 1a3c3ceb3ea5e41e270c9310f3b16a3993a07756 (patch) | |
| tree | c6c2ea85c31e902dd8d7145790e74b65fee041d2 /tools/perf/scripts/python/sctop.py | |
| parent | d3b34217a9d18a2f0102609a684a7e3adf5d5839 (diff) | |
qcacld-2.0: fix possible OOB read in SIOCSIWRATE WEXT ioctl handler
propagation from qcacld-3.0 to qcacld-2.0.
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().
Change-Id: I27091a9f48d1eb4d6806ebcfd2310fe848af408f
CRs-Fixed: 2257156
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
