Function acpi_os_map_memory() may return a NULL pointer, it should be validated
non-NULL before used.
This bug is found by a static tool developed by RUC_SoftSec, supported by
China.X.Orion.
Signed-off-by: RUC_SoftSec
---
drivers/acpi/osl.c |2 ++
1 file changed, 2 insertions(+)
diff
Function kzalloc() may return a NULL pointer, it should be checked against NULL
before used.
This bug is found by a static analysis tool developed by RUC_SoftSec, supported
by China.X.Orion.
Signed-off-by: RUC_SoftSec
---
drivers/tty/vt/vt.c | 14 --
1 file changed, 8 insertions
2 matches
Mail list logo