From: Peter Krefting Date: Tue, 25 Apr 2017 07:55:50 GMT Subject: Re: [PATCH v3 4/5] archive-zip: support archives bigger than 4GB Message-ID: In-Reply-To: René Scharfe: >> 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/