* (bug 3412) %s expansion security patch (DevHC)

This commit is contained in:
Tim Angus 2008-01-22 23:44:10 +00:00
parent 9cc4e0c976
commit 59c231c6c6
7 changed files with 12 additions and 12 deletions

View file

@ -62,7 +62,7 @@ void QDECL AAS_Error(char *fmt, ...)
va_start(arglist, fmt);
vsprintf(str, fmt, arglist);
va_end(arglist);
botimport.Print(PRT_FATAL, str);
botimport.Print(PRT_FATAL, "%s", str);
} //end of the function AAS_Error
//===========================================================================
//