]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge pull request #1514 from pimaster/fixDiskAccessForPrePaddedZips
authorTim Kientzle <kientzle@acm.org>
Sat, 27 Mar 2021 04:50:41 +0000 (21:50 -0700)
committerGitHub <noreply@github.com>
Sat, 27 Mar 2021 04:50:41 +0000 (21:50 -0700)
Rather than using the central directory offset as the file position directly, instead use the known location of the end-of-central-directory record and the size of the central directory to compute an offset.  This allows us to efficiently handle Zip archives that have other data prepended to the file.


Trivial merge