qcacld-3.0: Fix uninitialised variable use
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;
|
uint32_t cfg, payload, bytes, status;
|
||||||
tpSirMacMgmtHdr mac_hdr;
|
tpSirMacMgmtHdr mac_hdr;
|
||||||
uint8_t *frame;
|
uint8_t *frame;
|
||||||
void *packet;
|
void *packet = NULL;
|
||||||
QDF_STATUS qdf_status;
|
QDF_STATUS qdf_status;
|
||||||
uint32_t addn_ie_present = false;
|
uint32_t addn_ie_present = false;
|
||||||
|
|
||||||
|
在新工单中引用
屏蔽一个用户