Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8366d1f1 authored by Alexandra Diupina's avatar Alexandra Diupina Committed by Martin K. Petersen
Browse files

scsi: 53c700: Check that command slot is not NULL

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: default avatarVladimir Telezhnikov <vtelezhnikov@astralinux.ru>
Signed-off-by: default avatarVladimir Telezhnikov <vtelezhnikov@astralinux.ru>
Signed-off-by: default avatarAlexandra Diupina <adiupina@astralinux.ru>
Link: https://lore.kernel.org/r/20230728123521.18293-1-adiupina@astralinux.ru


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 5a43b07a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment