Re: [PATCH][next] scsi: cxgb4i: fix dereference of pointer tdata before it is null checked

2020-07-13 Thread Martin K. Petersen
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

Re: [PATCH][next] scsi: cxgb4i: fix dereference of pointer tdata before it is null checked

2020-07-13 Thread Varun Prakash
On Thu, Jul 09, 2020 at 02:52:17PM +0100, Colin King wrote: > From: Colin Ian King > > 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