Skip to content
Commit af515ef8 authored by Jordan Yates's avatar Jordan Yates Committed by Anas Nashif
Browse files

logging: log_cache: ensure cache contains an entry



Return an error if the provided cache configuration is not large enough
to hold a single entry. An empty `active` and `idle` list causes NULL
dereferences in `log_cache_get`.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent 2005dedd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment