summaryrefslogtreecommitdiff
path: root/package/inc
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2024-07-19 20:43:05 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2024-07-29 12:40:23 +0200
commitca21cc985d57fffe7c834159b17c095206304994 (patch)
tree5a55bbd88d8a0d0a63de617c7208814f1a7faad8 /package/inc
parent2e2581ec85512be2e7df7a81960ac6106676fa72 (diff)
package: ZipFile: check Zip64 end of central directory for consistency
Change-Id: Iae873ec8175922e210398ef8e0f83e148a795c2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170783 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'package/inc')
-rw-r--r--package/inc/ZipFile.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index 491309d9bd68..65df2ad00a60 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -94,7 +94,7 @@ private:
sal_uInt64 readLOC(ZipEntry &rEntry);
sal_Int32 readCEN();
- sal_Int32 findEND();
+ std::tuple<sal_Int64, sal_Int64, sal_Int64> findCentralDirectory();
void HandlePK34(std::span<const sal_Int8> data, sal_Int64 dataOffset, sal_Int64 totalSize);
void HandlePK78(std::span<const sal_Int8> data, sal_Int64 dataOffset);
void recover();