6fd5b5734f
Coverity points out that there is a check in the main thread loop for the
ctrlr->bdev being NULL, but by that stage the pointer has already been
dereferenced. Therefore, for safety, before we enter the loop do an
initial check on the parameter structure.
Coverity issue: 158657
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
scsi_spec.h | ||
scsi.c | ||
vhost_scsi.c | ||
vhost_scsi.h |