* msvc_dbg.c(GetModuleBase): Replace strcat with strcat_s.
+2007-06-06 Hans Boehm <Hans.Boehm@hp.com>
+
+ * msvc_dbg.c(GetModuleBase): Replace strcat with strcat_s.
+
2007-06-06 Hans Boehm <Hans.Boehm@hp.com>
* include/gc.h: (GC_word, GC_signed_word): Fix win64 definitions.
// Save and restore current directory around SymLoadModule, see KB article Q189780
GetCurrentDirectoryA(sizeof(curDir), curDir);
GetModuleFileNameA(NULL, exePath, sizeof(exePath));
- strcat(exePath, "\\..");
+ strcat_s(exePath, sizeof(exePath), "\\..");
SetCurrentDirectoryA(exePath);
#ifdef _DEBUG
GetCurrentDirectoryA(sizeof(exePath), exePath);