mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Add pointer validation check lim_send_probe_req_mgmt_frame()
Add pointer validation check for variable 'additional_ie' in lim_send_probe_req_mgmt_frame() API before derefernce it. Change-Id: I83f24b0707b129445b3b6bcdb84a5572aa4f0ccd CRs-Fixed: 2232743
This commit is contained in:
parent
c3411bbdf8
commit
493fea2572
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ lim_send_probe_req_mgmt_frame(tpAniSirGlobal mac_ctx,
|
|||
pe_debug("Populate HE IEs");
|
||||
populate_dot11f_he_caps(mac_ctx, pesession, &pr.he_cap);
|
||||
|
||||
if (addn_ielen) {
|
||||
if (addn_ielen && additional_ie) {
|
||||
qdf_mem_zero((uint8_t *)&extracted_ext_cap,
|
||||
sizeof(tDot11fIEExtCap));
|
||||
sir_status = lim_strip_extcap_update_struct(mac_ctx,
|
||||
|
|
|
|||
Loading…
Reference in a new issue