9c749db62c17eba85b26cd84985cbec0a85e41e9

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
This is CNSS WLAN Host Driver for products starting from iHelium
描述
语言
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%