[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - package/source

Fridrich Å trba fridrich.strba at bluewin.ch
Thu May 30 14:41:38 PDT 2013


 package/source/zipapi/ZipFile.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit b3c1547c7e2a09450c0249b69e58800c1c48a19b
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Thu May 30 12:30:08 2013 +0200

    Accept even more corrupted zip documents as long as we can read them
    
    Change-Id: I8d039664d6c33d978b9addc3f35cbeae86d6c710
    (cherry picked from commit 1b049bd2dae52dc154ea6bee075a254a9b6cc318)
    (cherry picked from commit d360333f83e3115219c3928525060c6c2a8711db)
    Reviewed-on: https://gerrit.libreoffice.org/4094
    Reviewed-by: Michael Meeks <michael.meeks at suse.com>
    Tested-by: Michael Meeks <michael.meeks at suse.com>

diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
index 0da4c33..23d33c0 100644
--- a/package/source/zipapi/ZipFile.cxx
+++ b/package/source/zipapi/ZipFile.cxx
@@ -694,7 +694,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 );
     }


More information about the Libreoffice-commits mailing list