diff options
| author | Dundi Raviteja <dundi@codeaurora.org> | 2018-06-15 17:16:18 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-06-18 08:31:39 -0700 |
| commit | 00255d6a4e6fb564b38c98fd1743b9113449797b (patch) | |
| tree | 527e80226555fdfc121601f8018cf97b050000e5 /tools/perf/scripts/python | |
| parent | f9ae07f45645f21b45e9b9debd0a914cb6a1cf33 (diff) | |
qcacld-3.0: Fix OOB access in __iw_set_scan()
In function __iw_set_scan(), copying data to addIEdata buffer
without checking the length of source buffer. which may lead to
out of buffer access.
Also, pAdapter is dereferenced without checking for NULL while
initializing hdd_ctx and pwextBuf variables, which may lead to
NULL pointer dereference.
To address OOB access, check genIE length against
SIR_MAC_MAX_ADD_IE_LENGTH + 2 and to fix NULL pointer dereference
first check pAdapter for NULL and then assign hdd_ctx and pwextBuf
variables.
Change-Id: I84e8c6a574e73f816926295076e12e0348d481c0
CRs-Fixed: 2260112
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
