fix lips.cc

This commit is contained in:
sonil 2024-01-23 22:05:26 +08:00
parent 8325823493
commit ce2b2c9814
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ int lipsLoad(const char* audioFileName, const char* headFileName)
*sep = '\0'; *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, _lips_fix_string(gLipsData.field_50, sizeof(gLipsData.field_50)));
strcat(path, "."); strcat(path, ".");