diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-05-30 12:30:08 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-05-30 12:45:25 +0200 |
commit | d360333f83e3115219c3928525060c6c2a8711db (patch) | |
tree | 7d8a2326056dd5bc9cea35476ec4a6f885941256 /package | |
parent | Fix tinderbox failures due to missing include (diff) | |
download | core-d360333f83e3115219c3928525060c6c2a8711db.tar.gz core-d360333f83e3115219c3928525060c6c2a8711db.zip |
Accept even more corrupted zip documents as long as we can read them
Change-Id: I8d039664d6c33d978b9addc3f35cbeae86d6c710
(cherry picked from commit 1b049bd2dae52dc154ea6bee075a254a9b6cc318)
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zipapi/ZipFile.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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 ); } |