mirror of https://github.com/madler/zlib.git
The appnote says that if the number of entries in the end record is 0xffff, then the actual number of entries will be found in the Zip64 end record. Therefore if the number of entries is equal to 0xffff, it can't be in the end record by itself, since that is an instruction to get the number from the Zip64 end record. This code would just store 0xffff in the end record in that case, not making a Zip64 end record. This commit fixes that.pull/876/head
parent
ac8f12c97d
commit
15c45adb76
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue