diff options
| author | Abhinav Kumar <abhikuma@codeaurora.org> | 2018-11-08 14:57:20 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-11-09 08:11:00 -0800 |
| commit | 5a5d7ee8f9de021ba79c610814c60a20f5ab19fb (patch) | |
| tree | 4c192b6f83e51aea0c428d04aa508e71bd04ed07 /scripts/gdb/linux/tasks.py | |
| parent | f13eb2c49d5117b32db8c426ea7d2fb0ab0e81ea (diff) | |
qcacld-3.0: Possible NULL ptr deref in dfs_phyerr_offload_event_handler
While handling WMI_DFS_RADAR_EVENTID event, driver invokes the
corresponding WMI handler dfs_phyerr_offload_event_handler. This
handler copies channel info from WMA context to local buffer chan.
As firmware sends the value of channel info to WMA context, it
could be NULL. Currently, there is no any NULL pointer validation
for chan present in dfs_phyerr_offload_event_handler before accessing
it. This results in a NULL pointer de-reference issue.
Add a sanity check for a NULL pointer before accessing chan in
dfs_phyerr_offload_event_handler.
Change-Id: I0789a25921df079222bea5203b583a20b404208a
CRs-Fixed: 2345088
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
