mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
fix a nasty buffer overflow found by OptiMus
This commit is contained in:
parent
01a7740f1b
commit
d605394a8d
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ Team_ResetTimers (void)
|
|||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; f_replies[i].name; i++)
|
||||
for (i = 0; i < sizeof (f_replies) / sizeof (f_replies[0]); i++)
|
||||
f_replies[i].lasttime = realtime - cl_freply->value;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue