Skip to content
Commit 5a35037a authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Chris Friedt
Browse files

arch: riscv: check esf before calling z_riscv_unwind_stack



Make sure that esf is not NULL before calling
z_riscv_unwind_stack to prevent NULL pointer dereferencing.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent 4d85f3d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment