Potential NULL pointer deference in scsi
From: Yizhuo Zhai
Date: Mon Oct 07 2019 - 16:34:17 EST
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