mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Paranoia.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2009 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0a326e1bc8
commit
12c3b6b96e
1 changed files with 1 additions and 1 deletions
|
@ -2671,7 +2671,7 @@ void COM_Gamedir (char *dir)
|
|||
{
|
||||
searchpath_t *next;
|
||||
|
||||
if (strstr(dir, "..") || strstr(dir, "/")
|
||||
if (!*dir || strstr(dir, "..") || strstr(dir, "/")
|
||||
|| strstr(dir, "\\") || strstr(dir, ":") )
|
||||
{
|
||||
Con_TPrintf (TL_GAMEDIRAINTPATH);
|
||||
|
|
Loading…
Reference in a new issue