scsi: 53c700: Check that command slot is not NULL
commit 8366d1f1 upstream. Add a check for the command slot value to avoid dereferencing a NULL pointer. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 1da177e4 ("Linux-2.6.12-rc2") Co-developed-by:Vladimir Telezhnikov <vtelezhnikov@astralinux.ru> Signed-off-by:
Vladimir Telezhnikov <vtelezhnikov@astralinux.ru> Signed-off-by:
Alexandra Diupina <adiupina@astralinux.ru> Link: https://lore.kernel.org/r/20230728123521.18293-1-adiupina@astralinux.ru Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
mentioned in commit msm-3.18@5f1cbd78
-
mentioned in commit 5f1cbd78
-
mentioned in commit bdde16a5
Please register or sign in to comment