Re: [PATCH v3 4/5] archive-zip: support archives bigger than 4GB
From: Peter Krefting <hidden>
Date: 2017-04-25 07:55:57
From: Peter Krefting <hidden>
Date: 2017-04-25 07:55:57
René Scharfe:
quoted
This needs to be >=. The spec says that if the value is 0xffffffff, there should be a zip64 record with the actual size (even if it is 0xffffffff).Could you please cite the relevant part?
4.4.8 compressed size: (4 bytes) 4.4.9 uncompressed size: (4 bytes) "If an archive is in ZIP64 format and the value in this field is 0xFFFFFFFF, the size will be in the corresponding 8 byte ZIP64 extended information extra field." Of course, there is no definition of how they define that "an archive is in ZIP64 format", but I would say that is whenever it has any ZIP64 structures. -- \\// Peter - http://www.softwolves.pp.se/