diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-05-30 12:35:19 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-05-30 12:35:39 +0200 |
commit | 482d1ae3d0fa378d11a28aa87c4d81c1ddf7b36c (patch) | |
tree | 59a42abfd05cb16334a3049361e6edd9387c774d /package | |
parent | bnc#817956 page border shadow testcase (diff) | |
download | core-482d1ae3d0fa378d11a28aa87c4d81c1ddf7b36c.tar.gz core-482d1ae3d0fa378d11a28aa87c4d81c1ddf7b36c.zip |
Revert "Accept even more corrupted zip documents as long as we can read them"
This reverts commit ef2ad0063a530aee186568579378a368180547a4.
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zipapi/ZipFile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); } |