[mojosetup] Fix an infinite loop bug in zip_expand_symlink_path()
Francois Gouget
fgouget at codeweavers.com
Mon May 23 18:08:08 EDT 2011
# HG changeset patch
# User Francois Gouget <fgouget at codeweavers.com>
# Date 1306186329 -7200
# Node ID bc35a9e23f6d798f5da5ba91bbca1692d617e82c
# Parent d004e8f59159e97d7566e739917c9145ebd32731
Fix an infinite loop bug in zip_expand_symlink_path().
Without this patch it would remain stuck on the first '/' it found in
the symbolic link target!
diff -r d004e8f59159 -r bc35a9e23f6d archive_zip.c
--- a/archive_zip.c Mon May 23 23:32:19 2011 +0200
+++ b/archive_zip.c Mon May 23 23:32:09 2011 +0200
@@ -797,6 +797,7 @@
else
{
prevptr = ptr;
+ ptr++;
} /* else */
} /* while */
} /* zip_expand_symlink_path */
More information about the mojosetup
mailing list