mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Fix uninitialised variable use
Initialize packet pointer with NULL to avoid wild pointer dereferencing. Change-Id: Iff756659ed463e15796350d0a73486923b92e19f CRs-Fixed: 1027693
This commit is contained in:
parent
90fd18c141
commit
fbf5068ddd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue