Skip to content
Commit d2edfa23 authored by Vincent Wan's avatar Vincent Wan Committed by Andrew Boie
Browse files

tests: fatal: allocate timer outside of stack



In stack_sentinel_timer(), the timer should not be allocated on the
stack. If it gets added to the list of timeouts by k_timer_start,
then an unexpected exception may occur when the timer expires since it
may have been overwritten.

Signed-off-by: default avatarVincent Wan <vincent.wan@linaro.org>
parent 2d8d4e0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment