package/source/zipapi/ZipFile.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit cf23025faabdae03f4d4706410c80c7c46c683e9 Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Tue Aug 13 17:59:18 2024 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Wed Aug 14 10:46:40 2024 +0200 package: clarify comment Change-Id: Id1a262dee4bd182c0aa3f938efb3808e3182602d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171834 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx index 6c5054e19d10..178750c01d26 100644 --- a/package/source/zipapi/ZipFile.cxx +++ b/package/source/zipapi/ZipFile.cxx @@ -1015,7 +1015,10 @@ sal_uInt64 ZipFile::readLOC(ZipEntry &rEntry) if ((rEntry.nFlag & 0x08) != 0) { #if 0 - if (nLocMethod == STORED) // example: fdo68983.odt has this :( + // Unfortunately every encrypted ODF package entry hits this, + // because ODF requires deflated entry with value STORED and OOo/LO + // has always written compressed streams with data descriptor. + if (nLocMethod == STORED) { SAL_INFO("package", "LOC STORED with data descriptor: \"" << rEntry.sPath << "\""); bBroken = true;