Skip to content

Commit

Permalink
buffer overflow fixed
Browse files Browse the repository at this point in the history
MAX_MASTER_SERVERS changed recently to 2
  • Loading branch information
D4edalus committed Jan 27, 2017
1 parent 988333b commit 77dfb32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sv_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2984,8 +2984,6 @@ void SV_InitCvarsOnce(void){

sv_master[0] = Cvar_RegisterString("sv_master1", "", 0, "A masterserver name");
sv_master[1] = Cvar_RegisterString("sv_master2", "", 0, "A masterserver name");
sv_master[2] = Cvar_RegisterString("sv_master3", "", 0, "A masterserver name");
sv_master[3] = Cvar_RegisterString("sv_master4", "", 0, "A masterserver name");

sv_g_gametype = Cvar_RegisterString("g_gametype", "war", 0x24, "Current game type");
sv_mapname = Cvar_RegisterString("mapname", "", CVAR_ROM | CVAR_SERVERINFO, "Current map name");
Expand Down

0 comments on commit 77dfb32

Please sign in to comment.