Skip to content
Snippets Groups Projects
Commit abfcc0bd authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard
Browse files

Limit StackWalk iterations to prevent infinite loop.

parent 64dce8a5
Branches
Tags
No related merge requests found
......@@ -219,6 +219,9 @@ void stack_backtrace(DWORD tid, BOOL noisy)
dbg_printf(")\n");
}
nf++;
/* we've probably gotten ourselves into an infinite loop so bail */
if (nf > 200)
break;
}
dbg_context = saved_dbg_context;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment