Skip to content
Commit a5134577 authored by Anurag Aggarwal's avatar Anurag Aggarwal Committed by Russell King
Browse files

ARM: 7987/1: ARM : unwinder : Prevent data abort due to stack overflow



While unwinding backtrace, stack overflow is possible. This stack
overflow can sometimes lead to data abort in system if the area after
stack is not mapped to physical memory.

To prevent this problem from happening, execute the instructions that
can cause a data abort in separate helper functions, where a check for
feasibility is made before reading each word from the stack.

Signed-off-by: default avatarAnurag Aggarwal <a.anurag@samsung.com>
Reviewed-by: default avatarDave Martin <Dave.Martin@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8258a989
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment