Use snprintf

This commit is contained in:
Alexander Batalov
2022-12-08 23:05:50 +03:00
parent 502c920656
commit 6de4ac87df
60 changed files with 534 additions and 532 deletions

View File

@@ -140,7 +140,7 @@ int debugPrint(const char* format, ...)
if (gDebugPrintProc != NULL) {
char string[260];
vsprintf(string, format, args);
vsnprintf(string, sizeof(string), format, args);
rc = gDebugPrintProc(string);
} else {