提交 950fee84 编写于 作者: A Andi Kleen 提交者: Andi Kleen

[PATCH] i386: Terminate backtrace fallback early if unwinder stack pointer is zero

Cc: jbeulich@novell.com
Signed-off-by: NAndi Kleen <ak@suse.de>
上级 2b14a78c
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册