From: PJ Fanning Date: Fri, 5 Oct 2018 20:17:39 +0000 (+0000) Subject: small adjustments to byte sizes in TestPackage zip-bomb tests to try fix test that... X-Git-Tag: REL_4_0_1~62 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac6a401fd81234762d26cca364de9a4c7a6ba44d;p=poi.git small adjustments to byte sizes in TestPackage zip-bomb tests to try fix test that fails on old-xerces harness git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842980 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java b/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java index 94a9658323..66a7630518 100644 --- a/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java +++ b/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java @@ -907,7 +907,7 @@ public final class TestPackage { getZipStatsAndConsume((max_size, min_ratio) -> { // check max entry size ouf of bounds ZipSecureFile.setMinInflateRatio(min_ratio-0.002); - ZipSecureFile.setMaxEntrySize(max_size-100); + ZipSecureFile.setMaxEntrySize(max_size-200); }); }