]> source.dussan.org Git - poi.git/commitdiff
small adjustments to byte sizes in TestPackage zip-bomb tests to try fix test that...
authorPJ Fanning <fanningpj@apache.org>
Fri, 5 Oct 2018 20:17:39 +0000 (20:17 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 5 Oct 2018 20:17:39 +0000 (20:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842980 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java

index 94a9658323607d3cebcafa27ccdc63e7ae35e776..66a76305183f06f69f0bde9cd719565cafb41280 100644 (file)
@@ -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);
                });
        }