Open brentp opened 4 years ago
just adding that flag causes zip_open not to error, but it doesn't resolve the underlying issue. not sure how to fix.
can't we always add this flag in the implementation? Why expose this silly non-sense to zip's users.
that seems fine, but I can't get it to work even with that flag. the file will open, but I can't extract. I'll look into it more.
http://home.chpc.utah.edu/~u6000771/gnomad.v3.genome.zip
here is a test archive. the first file in the archive has a compressed size > 4.2GB. which i think is creating additional problems.
https://github.com/nih-at/libzip/blob/178c445ef82beae9670ca68668865082eb0e1e91/lib/zip.h#L157
ZIP_CM_DEFLATE64
commented as Reserved for Tokenizing compression algorithm
so may not the right use here
AFAICT, files larger than 4.2 GB are not actually supported because we need to pass:
ZIP_CM_DEFLATE64
to zip_open, but that's not possible viazip.open
I can open a PR changing:
to
here is the code I am using to check the problem. should fail for any file > 4.2GB.