zlib icon indicating copy to clipboard operation
zlib copied to clipboard

unzOpenInternal() return UNZ_BADZIPFILE

Open cracy3m opened this issue 1 year ago • 2 comments

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.

cracy3m avatar Jun 25 '23 15:06 cracy3m

@gvollant: Can you look?

Neustradamus avatar Jul 30 '23 14:07 Neustradamus

@madler: Can you look this ticket?

Neustradamus avatar Jan 21 '24 11:01 Neustradamus