diff --git a/goldlib/gall/gfilutl1.cpp b/goldlib/gall/gfilutl1.cpp index 0afab13..5ebcd5d 100644 --- a/goldlib/gall/gfilutl1.cpp +++ b/goldlib/gall/gfilutl1.cpp @@ -220,7 +220,8 @@ const char* AddPath(const char* path, const char* file) { void MakePathname(char* pathname, const char* path, const char* name) { Path tmpname; - strcpy(tmpname, name); + + strxcpy(tmpname, name,GMAXPATH); strschg_environ(tmpname); if(strblank(tmpname)) {