]> source.dussan.org Git - poi.git/commit
* Adjust reported text when a Zip-Bomb is detected to allow to quickly see why it...
authorDominik Stadler <centic@apache.org>
Wed, 19 Aug 2015 10:57:19 +0000 (10:57 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 19 Aug 2015 10:57:19 +0000 (10:57 +0000)
commit1e45197f59c29046edf4d3adaffb0ffe27efb7d4
tree72059a9007bae4d3ad72f3eea2982c44a518ec70
parent5706c2ac9b1abc67b138aac751a399857dcc4ce0
* Adjust reported text when a Zip-Bomb is detected to allow to quickly see why it happened
* Fail only with inflation ratio lower than the min, not equals, to behave as documented
* Add getters to be able to temporarily adjust the limits for unit tests
* Allow lower inflation ratio in OOXMLPrettyPrint as this is a dev-only tool

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696556 13f79535-47bb-0310-9956-ffa450edef68
src/ooxml/java/org/apache/poi/dev/OOXMLPrettyPrint.java
src/ooxml/java/org/apache/poi/openxml4j/util/ZipSecureFile.java
src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java