mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-18 21:51:37 +00:00
Remotely exploitable Infostring Crash
This commit is contained in:
parent
b0b8e0114b
commit
01da6d757b
1 changed files with 9 additions and 0 deletions
|
@ -373,6 +373,15 @@ void SVC_Info( netadr_t from ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Check whether Cmd_Argv(1) has a sane length. This was not done in the original Quake3 version which led
|
||||||
|
* to the Infostring bug discovered by Luigi Auriemma. See http://aluigi.altervista.org/ for the advisory.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// A maximum challenge length of 128 should be more than plenty.
|
||||||
|
if(strlen(Cmd_Argv(1)) > 128)
|
||||||
|
return;
|
||||||
|
|
||||||
// don't count privateclients
|
// don't count privateclients
|
||||||
count = 0;
|
count = 0;
|
||||||
for ( i = sv_privateClients->integer ; i < sv_maxclients->integer ; i++ ) {
|
for ( i = sv_privateClients->integer ; i < sv_maxclients->integer ; i++ ) {
|
||||||
|
|
Loading…
Reference in a new issue