diff options
Diffstat (limited to 'src/common/Debugging/Errors.cpp')
-rw-r--r-- | src/common/Debugging/Errors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Debugging/Errors.cpp b/src/common/Debugging/Errors.cpp index 7ad137715da..f44f8d9105c 100644 --- a/src/common/Debugging/Errors.cpp +++ b/src/common/Debugging/Errors.cpp @@ -59,7 +59,7 @@ namespace va_end(len); formatted.resize(length); - vsnprintf(&formatted[0], length, format, args); + vsnprintf(&formatted[0], length + 1, format, args); return formatted; } |