3f78ca9873
Found via static analysis. In fault path when checking for stack overflows, if CONFIG_MULTITHREADING is not set, `guard_end` is left uninitialized and is subsequently used in a comparison. The solution is to simply return `false` in this configuration as stack guards are not configured in the first place. Signed-off-by: François Baldassari <francois@memfault.com> |
||
---|---|---|
.. | ||
dsp | ||
mpu | ||
offsets | ||
secureshield | ||
CMakeLists.txt | ||
arc_connect.c | ||
cache.c | ||
cpu_idle.S | ||
fast_irq.S | ||
fatal.c | ||
fault.c | ||
fault_s.S | ||
irq_manage.c | ||
irq_offload.c | ||
isr_wrapper.S | ||
prep_c.c | ||
regular_irq.S | ||
reset.S | ||
smp.c | ||
switch.S | ||
thread.c | ||
thread_entry_wrapper.S | ||
timestamp.c | ||
tls.c | ||
userspace.S | ||
vector_table.c | ||
vector_table.ld |