diff options
| author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | 2018-05-03 14:14:59 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-06 14:13:32 -0700 |
| commit | 1b6a0c5935332dab01b11996a8a9248815859885 (patch) | |
| tree | 1d641cf1a21ef6331dcb9f174ea292cb9e6a41b8 /tools/perf/scripts/python | |
| parent | 4f63952090dee3bc9916c2f206d28a73c8d34ae7 (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
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
