From 482d1ae3d0fa378d11a28aa87c4d81c1ddf7b36c Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Thu, 30 May 2013 12:35:19 +0200 Subject: Revert "Accept even more corrupted zip documents as long as we can read them" This reverts commit ef2ad0063a530aee186568579378a368180547a4. --- package/source/zipapi/ZipFile.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'package') 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 ); } -- cgit