From: Tim Allison Date: Thu, 13 Aug 2020 18:56:39 +0000 (+0000) Subject: Bug 64659 -- bump max record length X-Git-Tag: before_ooxml_3rd_edition~155 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4bf968d6bd96d51347380f3127e64dbb525c664d;p=poi.git Bug 64659 -- bump max record length git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880835 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java b/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java index c5d1cec826..295a022db8 100644 --- a/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java +++ b/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java @@ -34,7 +34,7 @@ import org.apache.poi.util.StringUtil; public final class MAPIRtfAttribute extends MAPIAttribute { //arbitrarily selected; may need to increase - private static final int MAX_RECORD_LENGTH = 1_000_000; + private static final int MAX_RECORD_LENGTH = 50_000_000; private final byte[] decompressed; private final String data;