Fixed infinite loop in zip_expand_symlink_path().
authorRyan C. Gordon <icculus@icculus.org>
Wed, 01 Jun 2011 03:08:53 -0400
changeset 1162 49950eab0ef8
parent 1161 a134c1d2a262
child 1163 e46c11bb2780
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.
src/archiver_zip.c
--- a/src/archiver_zip.c	Thu Mar 31 11:24:46 2011 -0400
+++ b/src/archiver_zip.c	Wed Jun 01 03:08:53 2011 -0400
@@ -669,6 +669,7 @@
         else
         {
             prevptr = ptr;
+            ptr++;
         } /* else */
     } /* while */
 } /* zip_expand_symlink_path */