mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 17:53:25 +00:00
Limit StackWalk iterations to prevent infinite loop.
This commit is contained in:
parent
64dce8a579
commit
abfcc0bdad
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user