[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1k1wyxot5.fsf@oracle.com>
Date: Wed, 03 Jan 2018 22:53:10 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Colin King <colin.king@...onical.com>
Cc: James Smart <james.smart@...adcom.com>,
Dick Kennedy <dick.kennedy@...adcom.com>,
"James E . J . Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: lpfc: don't dereference localport before it has been null checked
Colin,
> localport is being dereferenced to assign lport and then immediately
> afterwards localport is being sanity checked to see if it is null.
> Fix this by only dereferencing localport until after it has been
> null checked.
Applied to 4.16/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists