Fix potential buffer overflow.

This commit is contained in:
Ben Noordhuis
2010-11-06 21:48:34 +01:00
committed by Garux
parent 4485ebf780
commit 9cfed859cf

View File

@@ -926,7 +926,7 @@ int PC_Directive_include(source_t *source)
{
script_t *script;
token_t token;
char path[MAX_PATH];
char path[2 * MAX_PATH];
#ifdef QUAKE
foundfile_t file;
#endif //QUAKE