diff options
author | PJ Fanning <fanningpj@apache.org> | 2018-10-05 20:17:39 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2018-10-05 20:17:39 +0000 |
commit | ac6a401fd81234762d26cca364de9a4c7a6ba44d (patch) | |
tree | 5016cf4c9d621e8f7bfdb8f731f18361e607155c | |
parent | 2172d63be9eef6588fe8ec73b9563114734c4500 (diff) | |
download | poi-ac6a401fd81234762d26cca364de9a4c7a6ba44d.tar.gz poi-ac6a401fd81234762d26cca364de9a4c7a6ba44d.zip |
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
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); }); } |