commit | 961a8b8077a0937a52cc1a5b529f665083e2add9 | [log] [tgz] |
---|---|---|
author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | Thu May 03 14:16:44 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Fri May 25 08:21:32 2018 -0700 |
tree | 6ba363618b8bc70ce88fe78748772bd93c85a46f | |
parent | 1b32d9cf5ebde2d3b3172dd8b7872a671ddc9f18 [diff] |
qcacld-3.0: Fix potential NULL dereference in hdd_hostapd_sap_event_cb In the function hdd_hostapd_sap_event_cb, stainfo is obtained from hdd_get_stainfo(). This stainfo is dereferenced later to retrive dhcp_phase later. If the stainfo returned from the function hdd_get_stainfo is NULL, then a possible NULL pointer dereference could occur. Add check to validate stainfo is not NULL. Change-Id: Ia428142b6ae2545528c5998dcde63845ca592b56 CRs-Fixed: 2233870