mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-07 13:42:41 +00:00
Log_generic() can be used by external logger systems to map to zephyr logger subsystem. Function has variable number of arguments. So far logger assumed maximal number of arguments to avoid scanning string to count number of arguments. In outcome, uninitialized memory was treated as valid argument in a message (but discarded when actual string formatting took place). Valgrind complained about that so log_generic() has been extended to scan the string and count number of arguments and build message with valid number of arguments. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.template.log_config | ||
log_backend_native_posix.c | ||
log_backend_rtt.c | ||
log_backend_uart.c | ||
log_cmds.c | ||
log_core.c | ||
log_list.c | ||
log_list.h | ||
log_msg.c | ||
log_output.c | ||
sys_log_net.c | ||
sys_log.c |