Skip to content
Commit ecac165d authored by Alexej Rempel's avatar Alexej Rempel Committed by Christopher Friedt
Browse files

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: default avatarAlexej Rempel <Alexej.Rempel@de.eckerle-gruppe.com>
(cherry picked from commit 476d1997)
parent 132d90d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment