[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160618683552.24173.13742714512709142456.b4-ty@oracle.com>
Date: Mon, 23 Nov 2020 22:58:00 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-scsi@...r.kernel.org, James Smart <james.smart@...adcom.com>,
Colin King <colin.king@...onical.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
Dick Kennedy <dick.kennedy@...adcom.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH][next] scsi: lpfc: fix pointer defereference before it is null checked issue
On Wed, 18 Nov 2020 13:13:45 +0000, Colin King wrote:
> There is a null check on pointer lpfc_cmd after the pointer has been
> dereferenced when pointers rdata and ndlp are initialized at the start
> of the function. Fix this by only assigning rdata and ndlp after the
> pointer lpfc_cmd has been null checked.
Applied to 5.11/scsi-queue, thanks!
[1/1] scsi: lpfc: Fix pointer defereference before it is null checked issue
https://git.kernel.org/mkp/scsi/c/1e7dddb2e76a
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists