Skip to content

Commit 527aaa4

Browse files
committed
Prevent MODE=tiny ShowCrashReports() looping
1 parent 421a819 commit 527aaa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/log/minicrash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,5 @@ relegated dontinstrument void __minicrash(int sig, siginfo_t *si, void *arg) {
7373
ctx ? ctx->uc_mcontext.PC : 0,
7474
DescribeBacktrace(ctx ? (struct StackFrame *)ctx->uc_mcontext.BP
7575
: (struct StackFrame *)__builtin_frame_address(0)));
76+
_Exit(1);
7677
}

0 commit comments

Comments
 (0)