[PATCH] x86_64: Don't allow accesses below register frame in ptrace
authorAndi Kleen <ak@suse.de>
Fri, 20 May 2005 21:27:56 +0000 (14:27 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 22:48:20 +0000 (15:48 -0700)
commitc4d1fcf3a2ea89b6d6221fa8b4588c77aff50995
treedd102e8f2e67231b91055830b689f203aefdb6cb
parentb41e29398a873945d02e0009ce7e57608fdb4042
[PATCH] x86_64: Don't allow accesses below register frame in ptrace

There was a "off by one quad word" error in there.  I don't think it is
exploitable because it will only store into a unused area, but better to plug
it.

Found and fixed by John Blackwood

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/ptrace.c