Skip to content

Commit

Permalink
Make initterm callstack fix to try to stop false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdurak committed Oct 16, 2020
1 parent c334083 commit 3d41e75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions setup/version.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

#define VLDVERSION L"2.5.4"
#define VERSION_NUMBER 2,5,4,0
#define VERSION_STRING "2.5.4.0"
#define VLDVERSION L"2.5.5"
#define VERSION_NUMBER 2,5,5,0
#define VERSION_STRING "2.5.5.0"
#define VERSION_COPYRIGHT "Copyright (C) 2005-2020"

#ifndef __FILE__
!define VLD_VERSION "2.5.4" // NSIS Script
!define VLD_VERSION "2.5.5" // NSIS Script
#endif
2 changes: 1 addition & 1 deletion setup/vld-setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Visual Leak Detector"
#define MyAppVersion "2.5.4"
#define MyAppVersion "2.5.5"
#define MyAppPublisher "VLD Team"
#define MyAppURL "http://vld.codeplex.com/"
#define MyAppRegKey "Software\Visual Leak Detector"
Expand Down
4 changes: 3 additions & 1 deletion src/callstack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,9 @@ UINT CallStack::isCrtStartupFunction( LPCWSTR functionName ) const
|| (wcscmp(functionName, L"_wsetlocale") == 0)
|| (wcscmp(functionName, L"_Getctype") == 0)
|| (wcscmp(functionName, L"std::_Facet_Register") == 0)
|| endWith(functionName, len, L">::_Getcat")
|| endWith(functionName, len, L">::_Getcat")
// Added fixes
|| endWith(functionName, len, L"initterm")
) {
return CALLSTACK_STATUS_STARTUPCRT;
}
Expand Down

0 comments on commit 3d41e75

Please sign in to comment.