Initialize packet pointer with NULL to avoid wild pointer dereferencing. Change-Id: Iff756659ed463e15796350d0a73486923b92e19f CRs-Fixed: 1027693
@@ -516,7 +516,7 @@ lim_send_probe_rsp_mgmt_frame(tpAniSirGlobal mac_ctx,
uint32_t cfg, payload, bytes, status;
tpSirMacMgmtHdr mac_hdr;
uint8_t *frame;
- void *packet;
+ void *packet = NULL;
QDF_STATUS qdf_status;
uint32_t addn_ie_present = false;