Potential NULL pointer deference in SFI

From: Yizhuo Zhai
Date: Mon Oct 07 2019 - 16:44:33 EST


Hi All:

drivers/sfi/sfi_core.c:

Inside function sfi_map_table(), sfi_map_memory() could return NULL,
however, the return value of sfi_map_memory() is not checked and get
used. This could potentially be unsafe.

--
Kind Regards,

Yizhuo Zhai

Computer Science, Graduate Student
University of California, Riverside