diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-05-23 15:09:28 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-06-01 02:45:15 +0000 |
| commit | e6ef6a77f51e403a1400241b9d029ecaba45a834 (patch) | |
| tree | 969e9aeda7900fd8b1060a91590e80d40e81f0e6 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | scsi: lpfc: Avoid NULL pointer dereference in lpfc_els_abort() (diff) | |
| download | kernel-e6ef6a77f51e403a1400241b9d029ecaba45a834.tar.gz kernel-e6ef6a77f51e403a1400241b9d029ecaba45a834.zip | |
scsi: lpfc: prevent potential null pointer dereference
Null check at line 966: if (ndlp) {, implies that ndlp might be NULL.
Functions lpfc_nlp_set_state() and lpfc_issue_els_prli() dereference
pointer ndlp. Include these function calls inside the IF block that
tests pointer ndlp.
Addresses-Coverity-ID: 1401856
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
