diff options
author | Alexandra Diupina <adiupina@astralinux.ru> | 2023-07-28 15:35:21 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-31 14:38:17 -0400 |
commit | 8366d1f1249a0d0bba41d0bd1298d63e5d34c7f7 (patch) | |
tree | 63e603d7098e07c27b912adee3f6ff989c54aefc /scripts/gdb/linux/modules.py | |
parent | 5a43b07a87835660f91d88a4db11abfea8c523b7 (diff) |
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: 1da177e4c3f4 ("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>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions