]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: Fix end-of-stack checking in save_stack_trace().
authorDavid S. Miller <davem@davemloft.net>
Fri, 8 Aug 2008 06:04:37 +0000 (23:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Aug 2008 06:04:37 +0000 (23:04 -0700)
commit433c5f706856689be25928a99636e724fb3ea7cf
tree4a76f75ebec4adf1140a6f7930ce701b11d42d98
parent764f2579d95120e1c76b7af1256d02466ddd00bf
sparc64: Fix end-of-stack checking in save_stack_trace().

Bug reported by Alexander Beregalov.

Before we dereference the stack frame or try to peek at the
pt_regs magic value, make sure the entire object is within
the kernel stack bounds.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/stacktrace.c