qcacmn: Use qdf_mem_copy only if the dst addr is not null
Use qdf_mem_copy only if split_prof_end is not null. CRs-Fixed: 3151563 Change-Id: I9e525383caf5fd49c22d0412996eac895811af51
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Madan Koyyalamudi

ebeveyn
d9d768bb16
işleme
1ed089ab8d
@@ -2843,11 +2843,12 @@ static QDF_STATUS util_scan_parse_mbssid(struct wlan_objmgr_pdev *pdev,
|
||||
* handle such scenario.
|
||||
*/
|
||||
|
||||
qdf_mem_copy(split_prof_end,
|
||||
(subelement + MIN_IE_LEN),
|
||||
subie_len);
|
||||
split_prof_end =
|
||||
(split_prof_end + subie_len);
|
||||
if (split_prof_end) {
|
||||
qdf_mem_copy(split_prof_end,
|
||||
(subelement + MIN_IE_LEN),
|
||||
subie_len);
|
||||
split_prof_end += subie_len;
|
||||
}
|
||||
|
||||
/*
|
||||
* When to stop the process of accumulating
|
||||
@@ -2879,9 +2880,11 @@ static QDF_STATUS util_scan_parse_mbssid(struct wlan_objmgr_pdev *pdev,
|
||||
if (mbssid_info.prof_residue)
|
||||
break;
|
||||
|
||||
split_prof_len =
|
||||
(split_prof_end -
|
||||
split_prof_start - MIN_IE_LEN);
|
||||
if (split_prof_end) {
|
||||
split_prof_len =
|
||||
(split_prof_end -
|
||||
split_prof_start - MIN_IE_LEN);
|
||||
}
|
||||
}
|
||||
|
||||
if (mbssid_info.split_prof_continue) {
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle