diff options
| author | Chaoli Zhou <zchaoli@codeaurora.org> | 2020-12-23 14:27:03 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-01-07 18:28:09 -0800 |
| commit | 4f65c1ab6f2c7ab7c904f260f28798c1799623f1 (patch) | |
| tree | a7b557bbcc32a0084fd5ac4024f599665664e056 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | dcbad0e01b3f394b8554214162dda78726fb76f2 (diff) | |
qcacmn: Fix OOB issue for bwnss oui
If is_bwnss_oui return true in util_scan_parse_vendor_ie,
and it will run into below logical:
scan_params->ie_list.bwnss_map = (((uint8_t *)ie) + 8)
But in fact if ie->ie_len < 6, it will casue read out
of boundary issue. So add the length chekcing before
reading it
Change-Id: I0cdf723154eb808f8062efd897f9d67d54d4573b
CRs-Fixed: 2838849
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
