Messages in this thread | | | Subject | Re: [PATCH] scsi: lpfc: prevent potential null pointer dereference | From | James Smart <> | Date | Mon, 29 May 2017 16:06:28 -0700 |
| |
Looks good
Signed-off-by: James Smart <james.smart@broadcom.com>
-- james
On 5/23/2017 8:09 AM, Gustavo A. R. Silva wrote: > 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 >
| |