chore: update

This commit is contained in:
2025-11-16 21:38:02 +01:00
parent deafda9061
commit 1b78912b33
9 changed files with 11 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ namespace utils::string
while (true)
{
const int res = vsnprintf(entry->buffer_, entry->size_, format, ap);
const auto res = vsnprintf_s(entry->buffer_, entry->size_, _TRUNCATE, format, ap);
if (res > 0) break; // Success
if (res == 0) return nullptr; // Error