From 4bf968d6bd96d51347380f3127e64dbb525c664d Mon Sep 17 00:00:00 2001 From: Tim Allison Date: Thu, 13 Aug 2020 18:56:39 +0000 Subject: [PATCH] Bug 64659 -- bump max record length git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880835 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5