Messages in this thread | | | Subject | Re: [PATCH][next] scsi: lpfc: fix pointer defereference before it is null checked issue | From | "Martin K. Petersen" <> | Date | Thu, 19 Nov 2020 22:14:01 -0500 |
| |
Colin,
> 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-staging, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |