summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2018-08-14 05:13:59 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-14 05:13:59 -0700
commitfd6fcfff7d93ada9891a8f367b0b3105f54a005f (patch)
tree5126ffdc12f90f1b99e9c730f14a5173f38615d3
parentc910c79cf30bd9af69f711b5ea4a758bb500c8f1 (diff)
parentd660b47e8abb2efc4ecfc328dc144760f27df8ac (diff)
Merge "qcacld-2.0: Possible kernel info leak in sme_updateP2pIe()" into wlan-cld2.driver.lnx.1.0
-rw-r--r--CORE/SME/src/sme_common/sme_Api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/CORE/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c
index 935ca60138e5..2f9cd31e2185 100644
--- a/CORE/SME/src/sme_common/sme_Api.c
+++ b/CORE/SME/src/sme_common/sme_Api.c
@@ -8187,11 +8187,11 @@ eHalStatus sme_updateP2pIe(tHalHandle hHal, void *p2pIe, tANI_U32 p2pIeLength)
{
pMac->p2pContext.probeRspIeLength = p2pIeLength;
+ vos_mem_copy((tANI_U8 *)pMac->p2pContext.probeRspIe, p2pIe,
+ p2pIeLength);
sirDumpBuf( pMac, SIR_LIM_MODULE_ID, LOG2,
pMac->p2pContext.probeRspIe,
pMac->p2pContext.probeRspIeLength );
- vos_mem_copy((tANI_U8 *)pMac->p2pContext.probeRspIe, p2pIe,
- p2pIeLength);
}
//release the lock for the sme object