From ce2b2c9814f34822260161a2b280e4e039f6137f Mon Sep 17 00:00:00 2001 From: sonil Date: Tue, 23 Jan 2024 22:05:26 +0800 Subject: [PATCH] fix lips.cc --- src/lips.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ".");