]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Calculate where the Central Directory is based on the size of the Central Directory...
authorRussell Mullens <the_pimaster@hotmail.com>
Sat, 20 Mar 2021 07:59:12 +0000 (18:59 +1100)
committerRussell Mullens <the_pimaster@hotmail.com>
Sat, 20 Mar 2021 07:59:12 +0000 (18:59 +1100)
commitf5da47515fdd42153cb0c2da1b2b93fb87f67915
treec158a704ebf550616bf862d74d5d7aaeee907b80
parentbc2e773b7c5ea8628dfd540a471630bf0e2df5ad
Calculate where the Central Directory is based on the size of the Central Directory in EOCD and where the OECD was found.
This prevents large reads when a zip archive is preceded by other data.
libarchive/archive_read_support_format_zip.c