Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1652740 > unrolled thread

Re: [PATCH] scsi: lpfc: prevent potential null pointer dereference

Started byJames Smart <james.smart@broadcom.com>
First post2017-05-30 01:10 +0200
Last post2017-05-30 01:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] scsi: lpfc: prevent potential null pointer dereference James Smart <james.smart@broadcom.com> - 2017-05-30 01:10 +0200

#1652740 — Re: [PATCH] scsi: lpfc: prevent potential null pointer dereference

FromJames Smart <james.smart@broadcom.com>
Date2017-05-30 01:10 +0200
SubjectRe: [PATCH] scsi: lpfc: prevent potential null pointer dereference
Message-ID<tMBXr-72G-3@gated-at.bofh.it>
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
>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web