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:
Vadim Zeitlin
2003-08-15 00:21:02 +00:00
parent 26b0b99804
commit fc943dca4a

View File

@@ -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;