zephyr/subsys/logging
James Harris 97b5741ade logging: fix TOCTTOU issue in z_log_hexdump_from_user
Previously, a racing write to the provided metadata could result
in up to CONFIG_LOG_STRDUP_MAX_STRING-2 bytes after the
end of user-accessible memory being leaked into the strdup pool
or the resulting log.

For now, explicitly copy the metadata string. In an ideal world
this could directly copy from userspace into the strdup buffer, but
this obviously only works if strdup is enabled.

Signed-off-by: James Harris <james.harris@intel.com>
2021-03-10 06:09:38 -05:00
..
mipi_syst logging: add STP transport and raw data output support for syst 2020-11-17 10:09:19 -06:00
CMakeLists.txt soc/intel_adsp: Unify trace backends 2020-11-17 12:28:10 -08:00
Kconfig logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
Kconfig.backends logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
Kconfig.filtering logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
Kconfig.formatting logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
Kconfig.misc logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
Kconfig.mode logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
Kconfig.processing Kconfig: logging: Improve defaults for Bluetooth 2021-03-04 14:20:25 +02:00
Kconfig.template.log_config
log_backend_adsp.c soc/intel_adsp: Unify trace backends 2020-11-17 12:28:10 -08:00
log_backend_native_posix.c
log_backend_net.c
log_backend_rtt.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_spinel.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_swo.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_uart.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_backend_xtensa_sim.c logging: make log_backend_std header public 2020-10-21 10:21:05 -04:00
log_cmds.c logging: fix cmd_log_self_disable argc checker 2020-11-06 13:16:39 -05:00
log_core.c logging: fix TOCTTOU issue in z_log_hexdump_from_user 2021-03-10 06:09:38 -05:00
log_list.c
log_list.h
log_minimal.c Coding guideline: Fixing code violations for 21.13 Rule 2021-03-05 10:53:13 +03:00
log_msg.c
log_output.c logging: improve string logging on 64-bit ABI 2021-01-15 13:06:33 -05:00
log_output_syst.c logging: add STP transport and raw data output support for syst 2020-11-17 10:09:19 -06:00