Re: [PATCH][next] scsi: cxgb4i: fix dereference of pointer tdata before it is null checked
From: Martin K. Petersen
Date: Tue Jul 14 2020 - 00:59:10 EST
On Thu, 9 Jul 2020 14:52:17 +0100, Colin King wrote:
> Currently pointer tdata is being dereferenced on the initialization of
> pointer skb before tdata is null checked. This could lead to a potential
> null pointer dereference. Fix this by dereferencing tdata after tdata
> has been null pointer sanity checked.
Applied to 5.9/scsi-queue, thanks!
[1/1] scsi: cxgb4i: Fix dereference of pointer tdata before it is null checked
https://git.kernel.org/mkp/scsi/c/b92a4a9f7be8
--
Martin K. Petersen Oracle Linux Engineering