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)
|
if(fLoggingOff && !fForceLog)
|
||||||
return true;
|
return true;
|
||||||
char buffer[2000];
|
char buffer[2048];
|
||||||
vsprintf(buffer, format, arguments);
|
vsnprintf(buffer, arrsize(buffer), format, arguments);
|
||||||
return AddLine( buffer, color );
|
return AddLine( buffer, color );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user