[PATCH 0/4] test: uncover NULL dereferences in logging
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Mon Jul 11 08:21:28 CEST 2022
Setting CONFIG_LOG_MAX_LEVEL=9 in sandbox_defconfig exposed to NULL
dereferences and bugs in the log tests.
log_debug() statements are only executed for CONFIG_LOG_MAX_LEVEL > 6.
We should have a defconfig that exposes problems in these statements.
Heinrich Schuchardt (4):
dm: avoid NULL dereference in add_item()
test: fix log tests
dm: avoid NULL dereference in lists_bind_fdt()
configs: sandbox_defconfig: CONFIG_LOG_MAX_LEVEL=9
configs/sandbox_defconfig | 2 ++
drivers/core/acpi.c | 4 ++--
drivers/core/lists.c | 7 ++++---
test/log/log_test.c | 11 +++++++----
4 files changed, 15 insertions(+), 9 deletions(-)
--
2.36.1
More information about the U-Boot
mailing list