android_kernel_xiaomi_sm8350/core/sme
Mukul Sharma 156278d9b8 qcacld-3.0: prevent double free of ft pre auth response
Propagation qcacld-2.0 to qcacld-3.0

while processing ft pre auth response, if memory allocation fails
then host is not setting psavedFTPreAuthRsp to null. Later sme is
freeing same memory as freeing pMsg->bodyptr. Hence on next
disconnect, sme_FtReset try to free psavedFTPreAuthRsp which is
already free.
As a part of this fix, host ensure to set psavedFTPreAuthRsp
Null in all cases.

Change-Id: I144786cd4206bf273d2ffa63889af109cd2744dd
CRs-Fixed: 916416
2015-11-25 17:26:45 -08:00
..
inc qcacld-3.0: Implement ECSA Action Frame 2015-11-25 17:26:45 -08:00
src qcacld-3.0: prevent double free of ft pre auth response 2015-11-25 17:26:45 -08:00