Messages in this thread | | | From | Yizhuo Zhai <> | Date | Mon, 7 Oct 2019 12:03:50 -0700 | Subject | Potential NULL pointer deference in cxgbit |
| |
Hi All:
drivers/target/iscsi/cxgbit/cxgbit_ddp.c:
Inside function cxgbit_ddp_sgl_check(), sg_next() could return NULL, however, the return value of sg_next() is not checked and get dereferenced. This could potentially be unsafe.
-- Kind Regards,
Yizhuo Zhai
Computer Science, Graduate Student University of California, Riverside
| |