Browse Source

Backport from dev branch: infinite loop in zip_expand_symlink_path().

Ryan C. Gordon 15 years ago
parent
commit
08a15ea0c6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      archivers/zip.c

+ 1 - 0
archivers/zip.c

@@ -670,6 +670,7 @@ static void zip_expand_symlink_path(char *path)
         else
         else
         {
         {
             prevptr = ptr;
             prevptr = ptr;
+            ptr++;
         } /* else */
         } /* else */
     } /* while */
     } /* while */
 } /* zip_expand_symlink_path */
 } /* zip_expand_symlink_path */