[Android] Use vsnprintf for the log messages.
This commit is contained in:
1 parent
09def3ed3f
commit
b6963ce1cb
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user