mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-31 23:41:25 +00:00
Fix another buffer overflow, this time when writing the config.cfg
This overflow is a problem on all platforms but manifested itself especially on a german Windows XP due to it's long profile path.
This commit is contained in:
parent
6c2f97927e
commit
e8eea857e4
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ void CL_InitLocal (void)
|
|||
void CL_WriteConfiguration (void)
|
||||
{
|
||||
FILE *f;
|
||||
char path[MAX_QPATH];
|
||||
char path[MAX_OSPATH];
|
||||
|
||||
if (cls.state == ca_uninitialized)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue