diff options
| author | Jeff Johnson <jjohnson@codeaurora.org> | 2018-05-07 12:50:46 -0700 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-08 14:03:09 -0700 |
| commit | 59a8a8a8a8585c31932dc9966c91a7238d516ce9 (patch) | |
| tree | a96cceb85a4ba13c27a5abbb097175e17b4ea155 /tools/perf/scripts/python | |
| parent | 59650271afaf26185564635beeb46e3abe8c6e8b (diff) | |
qcacld-3.0: Prevent overread of SSID in hdd_fill_pmksa_info()
Currently when transferring SSID information from the nl80211 TLV to
the internal data structure hdd_fill_pmksa_info() always copies
SIR_MAC_MAX_SSID_LENGTH bytes which can overread the buffer. In order
to prevent overread only copy as many bytes as the TLV contains.
Note that the destination buffer passed to hdd_fill_pmksa_info() is
always zero-filled so no additional zeroing of bytes is required.
Change-Id: I1f6773b70e9e728d6b1ce93ca26417348e96844c
CRs-Fixed: 2237462
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
