zephyr/subsys/logging
Johann Fischer ce4be3af86 logging: fix out of bounds write in log_strdup
log_strdup writes out of bounds of a strdup slab.
e.g: CONFIG_LOG_STRDUP_MAX_STRING=46 and
     LOG_STRBUF_STR_SIZE=47 then in the line L:529
sdupl[LOG_STRBUF_STR_SIZE - 1] = '\0';
writes out of bounds because the available buffer space
is only 44 bytes (rounded up to 48 bytes and minus 4 bytes
for the allocated flag).

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2018-10-24 16:41:21 +01:00
..
CMakeLists.txt subsys: logger: fix merge error 2018-09-24 12:06:12 +02:00
Kconfig logging: Add optional function name prefix 2018-10-24 11:14:26 +01:00
Kconfig.template.log_config logging: add template for log configuration 2018-09-14 12:32:56 -04:00
log_backend_native_posix.c logging: Add autostart option to LOG_BACKEND_DEFINE 2018-10-11 13:29:50 +03:00
log_backend_uart.c logging: Add autostart option to LOG_BACKEND_DEFINE 2018-10-11 13:29:50 +03:00
log_cmds.c shell: examples unification 2018-10-19 13:35:56 +02:00
log_core.c logging: fix out of bounds write in log_strdup 2018-10-24 16:41:21 +01:00
log_list.c logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
log_list.h logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
log_msg.c logging: Added support for 10 arguments in log message 2018-10-24 11:14:26 +01:00
log_output.c logging: Add optional function name prefix 2018-10-24 11:14:26 +01:00
sys_log.c
sys_log_net.c