فهرست منبع

Fixed infinite loop in zip_expand_symlink_path().

This patch was from Francois Gouget, who found this bug in MojoSetup's copy
 of the zip archiver code.
Ryan C. Gordon 15 سال پیش
والد
کامیت
c6ca60eb20
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/archiver_zip.c

+ 1 - 0
src/archiver_zip.c

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