diff options
| author | Alok Kumar <alokkuma@codeaurora.org> | 2018-06-21 15:47:32 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-06-21 08:57:08 -0700 |
| commit | 42f300eed9bae759de93800b1c1c59f02dd4789d (patch) | |
| tree | 378b880b6c0b620778bae7eea90ce0b053c31b63 /scripts/gdb/linux/tasks.py | |
| parent | 62a4a98d2cbda663870a3dba221b4e8f49ed8aed (diff) | |
qcacld-3.0: Fix NULL pointer dereferencing from call to cds_get_context
The pdev returned from a call to cds_get_context may be NULL, due to
which NULL pointer dereference issue will occur.
Add a NULL check for the pdev returned from call to cds_get_context
before dereferencing it.
Change-Id: I8d5bb75bc5ca8f44f6e3e9bd15775ff43591023d
CRs-Fixed: 2265122
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
