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 lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig shell: remove superfluous default n for boolean 2022-04-19 11:49:27 +02:00
Kconfig.template.shell_log_queue_size license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.template.shell_log_queue_timeout license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
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: don't print colon if there's no item help 2022-02-24 08:29:52 -06:00
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: rework vt100 commands storage 2021-09-28 20:02:01 -04:00
shell_wildcard.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
shell_wildcard.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00