mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 09:14:18 -04:00
qcacld-3.0: Initialize the pmkid cache variable
Invalid memory length passed to memcpy triggered crash and it is due to unintialized stack variable. Initialize pmkid cache variable to zero. Change-Id: Ib25812086f4d9f8399ce560d6aa7423a1978d04d CRs-Fixed: 2119987
This commit is contained in:
parent
70708abcf3
commit
a3cac40b8d
1 changed files with 1 additions and 0 deletions
|
|
@ -3815,6 +3815,7 @@ uint8_t csr_construct_rsn_ie(tHalHandle hHal, uint32_t sessionId,
|
|||
tDot11fBeaconIEs *pIesLocal = pIes;
|
||||
eCsrAuthType negAuthType = eCSR_AUTH_TYPE_UNKNOWN;
|
||||
|
||||
qdf_mem_zero(&pmkid_cache, sizeof(pmkid_cache));
|
||||
do {
|
||||
if (!csr_is_profile_rsn(pProfile))
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue