mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 06:01:10 +00:00
Add length check here as well, thanks Ensiform
This commit is contained in:
parent
311acbe263
commit
6b811ada7a
1 changed files with 4 additions and 0 deletions
|
@ -570,6 +570,10 @@ static void SVC_Status( netadr_t from ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// A maximum challenge length of 128 should be more than plenty.
|
||||||
|
if(strlen(Cmd_Argv(1)) > 128)
|
||||||
|
return;
|
||||||
|
|
||||||
strcpy( infostring, Cvar_InfoString( CVAR_SERVERINFO ) );
|
strcpy( infostring, Cvar_InfoString( CVAR_SERVERINFO ) );
|
||||||
|
|
||||||
// echo back the parameter to status. so master servers can use it as a challenge
|
// echo back the parameter to status. so master servers can use it as a challenge
|
||||||
|
|
Loading…
Reference in a new issue