]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
Applied patch [ 807164 ] fixes for core library
[wxWidgets.git] / src / msw / crashrpt.cpp
index 2f22abef53068cc0bdbc617041f80c2d15e91155..9dd8850bb0ac58a1098ce032b98903b0dd848e35 100644 (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;