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:
@ -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 );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user