From ef2ad0063a530aee186568579378a368180547a4 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Thu, 30 May 2013 12:30:08 +0200 Subject: Accept even more corrupted zip documents as long as we can read them Change-Id: I8d039664d6c33d978b9addc3f35cbeae86d6c710 --- package/source/zipapi/ZipFile.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'package') diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx index 9a894f496e77..f9da68b88fe5 100644 --- a/package/source/zipapi/ZipFile.cxx +++ b/package/source/zipapi/ZipFile.cxx @@ -691,7 +691,6 @@ 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 ); } -- cgit