prevent infinite recursion -- not a fix for the real bug but at least we don't crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -494,6 +494,12 @@ wxCrashReportImpl::FormatField(DWORD64 modBase,
|
||||
{
|
||||
wxString s;
|
||||
|
||||
// avoid infinite recursion
|
||||
if ( level > 10 )
|
||||
{
|
||||
return s;
|
||||
}
|
||||
|
||||
const HANDLE hProcess = GetCurrentProcess();
|
||||
|
||||
DWORD dwTag = 0;
|
||||
|
Reference in New Issue
Block a user