X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87baeeaff6a83755b717936adfcea1088ca79f49..ac8d0c118b7403e2838e75124b442051299e6f6c:/src/msw/crashrpt.cpp diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index 2f22abef53..9dd8850bb0 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -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;