[Android] Use vsnprintf for the log messages.
This commit is contained in:
parent
09def3ed3f
commit
b6963ce1cb
|
@ -113,7 +113,7 @@ void Host_SysMessage(const char *fmt, ...)
|
|||
char msg[512];
|
||||
|
||||
va_start(list, fmt);
|
||||
vsprintf(msg, fmt, list);
|
||||
vsnprintf(msg, 512, fmt, list);
|
||||
va_end(list);
|
||||
|
||||
size_t len = strlen(msg);
|
||||
|
|
Loading…
Reference in New Issue