summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------helpcontent20
-rw-r--r--package/source/zipapi/ZipFile.cxx1
2 files changed, 1 insertions, 0 deletions
diff --git a/helpcontent2 b/helpcontent2
-Subproject 56fb45d986561dde4a9675a2bd7495b7feb1df3
+Subproject 9725a25d88fd4a4c2abfcc41a2961bdb2de4ebb
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
index f9da68b88fe5..9a894f496e77 100644
--- a/package/source/zipapi/ZipFile.cxx
+++ b/package/source/zipapi/ZipFile.cxx
@@ -691,6 +691,7 @@ sal_Bool ZipFile::readLOC( ZipEntry &rEntry )
// with timestamp difference in the central directory entry and local
// file header.
bBroken = rEntry.nVersion != nVersion
+ || (rEntry.nFlag & ~6L) != (nFlag & ~6L)
|| rEntry.nPathLen != nPathLen
|| !rEntry.sPath.equals( sLOCPath );
}