Kaydet (Commit) 1b049bd2 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Accept even more corrupted zip documents as long as we can read them

Change-Id: I8d039664d6c33d978b9addc3f35cbeae86d6c710
üst 482d1ae3
...@@ -691,7 +691,6 @@ sal_Bool ZipFile::readLOC( ZipEntry &rEntry ) ...@@ -691,7 +691,6 @@ sal_Bool ZipFile::readLOC( ZipEntry &rEntry )
// with timestamp difference in the central directory entry and local // with timestamp difference in the central directory entry and local
// file header. // file header.
bBroken = rEntry.nVersion != nVersion bBroken = rEntry.nVersion != nVersion
|| (rEntry.nFlag & ~6L) != (nFlag & ~6L)
|| rEntry.nPathLen != nPathLen || rEntry.nPathLen != nPathLen
|| !rEntry.sPath.equals( sLOCPath ); || !rEntry.sPath.equals( sLOCPath );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment