Thread (1 message) 1 message, 1 author, 2022-01-05

Re: [PATCH] scsi: qedf: potential dereference of null pointer

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2022-01-05 05:21:08
Also in: linux-scsi, lkml

Jiasheng,
The return value of dma_alloc_coherent() needs to be checked.
To avoid use of null pointer in case of the failure of alloc.
Applied to 5.17/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help