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.
This commit is contained in:
Ryan C. Gordon 2011-06-01 03:08:53 -04:00
parent 4446cfa613
commit c6ca60eb20
1 changed files with 1 additions and 0 deletions

View File

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