diff options
| author | Abhinav Kumar <abhikuma@codeaurora.org> | 2018-02-21 12:36:35 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-03-05 10:21:35 -0800 |
| commit | f658dcb4aa59a2d53ce58e09c9ef66c1b2f00bda (patch) | |
| tree | 0a8dc7f71478ac2c1dd251fd427bac134101eb3f /scripts/objdiff | |
| parent | c017965cea0b0131c8f035419cc24815bd86de7a (diff) | |
qcacld-3.0: Handle error case in wma_extscan_cached_results_event_handler
Currently, driver calls wma_group_num_bss_to_scan_id API from
wma_extscan_cached_results_event_handler to group bss to scan id
table. Without checking return status of wma_group_num_bss_to_scan_id,
HDD callback is called which can lead to NULL pointer de-reference issue
in wlan_hdd_cfg80211_extscan_cached_results_ind if malloc for
t_scan_id_grp->ap fails in wma_group_num_bss_to_scan_id.
Add check for return status of "wma_group_num_bss_to_scan_id" in
wma_extscan_cached_results_event_handler before invoking HDD callback
Change-Id: I457f39404436c54feb4b555f8101895d3c1ae5d7
CRs-Fixed: 2188297
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
