* (bug 3412) %s expansion security patch (DevHC)
This commit is contained in:
parent
9cc4e0c976
commit
59c231c6c6
7 changed files with 12 additions and 12 deletions
|
@ -296,9 +296,9 @@ rescan:
|
|||
// https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=552
|
||||
// allow server to indicate why they were disconnected
|
||||
if ( argc >= 2 )
|
||||
Com_Error (ERR_SERVERDISCONNECT, va( "Server Disconnected - %s", Cmd_Argv( 1 ) ) );
|
||||
Com_Error( ERR_SERVERDISCONNECT, "Server disconnected - %s", Cmd_Argv( 1 ) );
|
||||
else
|
||||
Com_Error (ERR_SERVERDISCONNECT,"Server disconnected\n");
|
||||
Com_Error( ERR_SERVERDISCONNECT, "Server disconnected\n" );
|
||||
}
|
||||
|
||||
if ( !strcmp( cmd, "bcs0" ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue