zlib
zlib copied to clipboard
unzOpenInternal() return UNZ_BADZIPFILE
I was tried to use contrib/minizip
to unzip a zip archive which generated by contrib/minizip/minizip.c
demo, but unzOpen2_64() return NULL; I found unz64local_SearchCentralDir64() return 0 and unzOpenInternal() return UNZ_BADZIPFILE when traced in unzOpen2_64() at here:
/** unzip.c */
717: if ((number_entry_CD!=us.gi.number_entry) ||
718: (number_disk_with_CD!=0) ||
719: (number_disk!=0))
720: err=UNZ_BADZIPFILE;
Can any one help? thanks.
@gvollant: Can you look?
@madler: Can you look this ticket?