OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b14a78
)
[PATCH] i386: Terminate backtrace fallback early if unwinder stack pointer is zero
author
Andi Kleen
<ak@suse.de>
Tue, 26 Sep 2006 08:52:34 +0000
(10:52 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:34 +0000
(10:52 +0200)
Cc: jbeulich@novell.com
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/traps.c
b/arch/i386/kernel/traps.c
index
4ced428
..
86fa7e4
100644
(file)
--- a/
arch/i386/kernel/traps.c
+++ b/
arch/i386/kernel/traps.c
@@
-197,6
+197,8
@@
void dump_trace(struct task_struct *task, struct pt_regs *regs,
if (UNW_SP(&info) >= PAGE_OFFSET) {
ops->warning(data, "Leftover inexact backtrace:\n");
stack = (void *)UNW_SP(&info);
+ if (!stack)
+ return;
} else
ops->warning(data, "Full inexact backtrace again:\n");
} else if (call_trace >= 1)