zephyr/subsys/shell
Alexej Rempel 476d199752 logging: shell: fix shell stats null pointer dereference
If CONFIG_SHELL_STATS is disabled, shell->stats is NULL and
must not be dereferenced. Guard against it.

Fixes #44089

Signed-off-by: Alexej Rempel <Alexej.Rempel@de.eckerle-gruppe.com>
2022-05-15 21:32:10 +02:00
..
backends subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
modules subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
CMakeLists.txt
Kconfig shell: remove superfluous default n for boolean 2022-04-19 11:49:27 +02:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_cmds.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_fprintf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_help.c
shell_help.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_history.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_log_backend.c logging: shell: fix shell stats null pointer dereference 2022-05-15 21:32:10 +02:00
shell_ops.c shell: check echo flag in z_shell_cursor_in_empty_line() 2022-05-13 10:22:17 -05:00
shell_ops.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_utils.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_utils.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_vt100.h
shell_wildcard.c
shell_wildcard.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00