1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

That looks dangerous...

This commit is contained in:
2012-11-28 19:05:16 -05:00
parent 4ee424df34
commit 16c3190f14

View File

@ -692,8 +692,8 @@ bool plStatusLog::AddLineV( uint32_t color, const char *format, va_list argument
{
if(fLoggingOff && !fForceLog)
return true;
char buffer[2000];
vsprintf(buffer, format, arguments);
char buffer[2048];
vsnprintf(buffer, arrsize(buffer), format, arguments);
return AddLine( buffer, color );
}