
11 Jul
2022
11 Jul
'22
8:21 a.m.
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