wlan : Stack corruption in processing FW MEM DUMP
Resolved stack corruption in WDI_ProcessFwrMemDumpRsp
due to incorrect size specified to memcpy function.
Size corrected to match the data copied.
Change-Id: I91e17f80d353ee2a442eb37562c4ee76ee4b8c88
CRs-Fixed: 939204
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index 3da8295..0960678 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -35289,7 +35289,7 @@
/*-------------------------------------------------------------------------
Extract response and send it to UMAC
-------------------------------------------------------------------------*/
- wpalMemoryCopy( &halRsp.tFwMemoryDumpResp, pEventData->pEventData, sizeof(halRsp));
+ wpalMemoryCopy( &halRsp.tFwMemoryDumpResp, pEventData->pEventData, sizeof(halRsp.tFwMemoryDumpResp));
wdiFwrMemDumpRsp.dump_status = WDI_HAL_2_WDI_STATUS(halRsp.tFwMemoryDumpResp.status);