Ryan C. Gordon пре 24 година
родитељ
комит
c2a4dd6378
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      physfs.c

+ 1 - 2
physfs.c

@@ -1227,10 +1227,9 @@ int __PHYSFS_verifySecurity(DirHandle *h, const char *fname)
             {
                 __PHYSFS_setError(ERR_SYMLINK_DISALLOWED);
                 retval = 0;
-                break;
             } /* if */
 
-            /* break out early if path element is missing. */
+            /* break out early if path element is missing or it's a symlink. */
             if (!retval)
                 break;
         } /* if */