Skip to content
Commit 476d1997 authored by Alexej Rempel's avatar Alexej Rempel Committed by Carles Cufí
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>
parent 5d662ae3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment