You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ta...@apache.org on 2020/08/13 18:56:39 UTC

svn commit: r1880835 - /poi/trunk/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java

Author: tallison
Date: Thu Aug 13 18:56:39 2020
New Revision: 1880835

URL: http://svn.apache.org/viewvc?rev=1880835&view=rev
Log:
Bug 64659 -- bump max record length

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java?rev=1880835&r1=1880834&r2=1880835&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hmef/attribute/MAPIRtfAttribute.java Thu Aug 13 18:56:39 2020
@@ -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;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org