diff options
| author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | 2018-11-13 14:29:44 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2019-02-18 01:47:49 -0800 |
| commit | 3ed8b3a89b2e07b552e9caca6d1d7576ba1b0d0c (patch) | |
| tree | 3a2cdb1593e18830b496db6810428ad8509f2eec /tools/perf/scripts/python | |
| parent | 119ee5c9434fc579ff0535a2e9931765175d5709 (diff) | |
qcacld-3.0: Fix possible NULL pointer dereference in lim_send_mlm_assoc_ind
In SAP mode, when a STA is associated, the assoc request is
stored in session_entry->parsedAssocReq. The function
lim_send_mlm_assoc_ind is called to indicate the association to
SME. In lim_send_mlm_assoc_ind, parsedAssocReq is copied to
assoc_req which fills the assoc_ind to be sent to sme,
and session_entry->parsedAssocReq is dereferenced before
validating it against NULL. This could result in NULL pointer
dereference.
Add NULL pointer check before dereferencing parsedAssocReq.
Return if it fails.
Change-Id: Ied2b5f64c0351a648c1d398f616450aa406fc82e
CRs-Fixed: 2348565
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
