zephyr/arch/arc/core
François Baldassari 3f78ca9873 ARC: fault: Fix uninitialized memory access
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>
2024-04-29 17:39:57 +01:00
..
dsp
mpu
offsets
secureshield
CMakeLists.txt
arc_connect.c
cache.c
cpu_idle.S
fast_irq.S
fatal.c ARC: logging: Print exception info independent of CONFIG_LOG 2024-02-05 14:44:57 -05:00
fault.c ARC: fault: Fix uninitialized memory access 2024-04-29 17:39:57 +01:00
fault_s.S
irq_manage.c kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER 2024-03-27 19:27:10 -04:00
irq_offload.c
isr_wrapper.S
prep_c.c ARC: ARCv3: enable shared cache if available 2024-01-30 12:36:24 +01:00
regular_irq.S
reset.S
smp.c kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER 2024-03-27 19:27:10 -04:00
switch.S
thread.c kernel: rename Z_THREAD_STACK_BUFFER to K_THREAD_STACK_BUFFER 2024-03-27 19:27:10 -04:00
thread_entry_wrapper.S
timestamp.c
tls.c
userspace.S
vector_table.c
vector_table.ld