Revert "Accept even more corrupted zip documents as long as we can read them"
This reverts commit ef2ad0063a
.
This commit is contained in:
Submodule helpcontent2 updated: 56fb45d986...9725a25d88
@@ -691,6 +691,7 @@ 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 );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user