Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 950fee84 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

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



Cc: jbeulich@novell.com
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 2b14a78c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)