diff --git a/src/lips.cc b/src/lips.cc index 411c8b3..b769f81 100644 --- a/src/lips.cc +++ b/src/lips.cc @@ -261,7 +261,7 @@ int lipsLoad(const char* audioFileName, const char* headFileName) *sep = '\0'; } - strcpy(gLipsData.field_50, v60); + strncpy(gLipsData.field_50, v60, 8); strcat(path, _lips_fix_string(gLipsData.field_50, sizeof(gLipsData.field_50))); strcat(path, ".");