Файли
android_kernel_samsung_sm86…/core/sme
Aditya Kodukula 3f9ed9d291 qcacld-3.0: Avoid double free in sch_gen_timing_advert_frame
In sch_gen_timing_advert_frame, the memory allocated for buffer
timing_advert->template_value is freed but not reset to NULL.
This creates a dangling pointer, and it is freed again inside
__wlan_hdd_cfg80211_ocb_start_timing_advert.

To avoid this issue, reset the pointer to buffer
timing_advert->template_value to NULL before returning from
sch_gen_timing_advert_frame.

Change-Id: I2445c53f217d0fd22cbe3026b0869284fe13b851
CRs-Fixed: 3229906
2022-07-02 23:10:59 -07:00
..