Messages in this thread | | | From | Yizhuo Zhai <> | Date | Mon, 7 Oct 2019 13:34:56 -0700 | Subject | Potential NULL pointer deference in scsi |
| |
Hi All:
drivers/scsi/scsi.c:
Inside function __starget_for_each_device(), dev_to_shost() could return NULL,however, the return value shost is not checked and get used. This could potentially be unsafe.
-- Kind Regards,
Yizhuo Zhai
Computer Science, Graduate Student University of California, Riverside
| |