- replaced all usages of insecure vsprintf() function
This commit is contained in:
parent
6327734659
commit
a3554bda70
4 changed files with 4 additions and 4 deletions
|
|
@ -828,7 +828,7 @@ void cmsg(int type, int verbosity_level, const char *fmt, ...)
|
|||
char buf[1024];
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
vsprintf(buf, fmt, args);
|
||||
myvsnprintf(buf, sizeof buf, fmt, args);
|
||||
va_end(args);
|
||||
I_DebugPrint(buf);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue