summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2018-05-07 12:50:46 -0700
committernshrivas <nshrivas@codeaurora.org>2018-05-08 14:03:09 -0700
commit59a8a8a8a8585c31932dc9966c91a7238d516ce9 (patch)
treea96cceb85a4ba13c27a5abbb097175e17b4ea155 /tools/perf/scripts/python
parent59650271afaf26185564635beeb46e3abe8c6e8b (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