From acec5552c012198ec2f2d497e91b812a183dbbfc Mon Sep 17 00:00:00 2001 From: Marek Roszko <mark.roszko@gmail.com> Date: Fri, 21 Jun 2024 07:19:40 -0400 Subject: [PATCH] Don't use message as part of the assert dedup kimath overflow can generate thousands of unique messages in one run lolol --- common/pgm_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 46ee0ec926..66f97b6f29 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -1018,7 +1018,7 @@ void PGM_BASE::HandleAssert( const wxString& aFile, int aLine, const wxString& a { static std::set<SENTRY_ASSERT_CACHE_KEY> assertCache; - SENTRY_ASSERT_CACHE_KEY key = { aFile, aLine, aFunc, aCond, aMsg }; + SENTRY_ASSERT_CACHE_KEY key = { aFile, aLine, aFunc, aCond }; if( assertCache.find( key ) == assertCache.end() ) {