Fix potential buffer overflow.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user