Revert "Accept even more corrupted zip documents as long as we can read them"
This reverts commit ef2ad0063a530aee186568579378a368180547a4.
This commit is contained in:
parent
1727b26864
commit
482d1ae3d0
@ -1 +1 @@
|
|||||||
Subproject commit 56fb45d986561dde4a9675a2bd7495b7feb1df32
|
Subproject commit 9725a25d88fd4a4c2abfcc41a2961bdb2de4ebb1
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user