poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From talli...@apache.org
Subject svn commit: r1837387 - in /poi/trunk/src/scratchpad/src/org/apache/poi: hdgf/streams/ hslf/record/ hslf/usermodel/ hwpf/
Date Fri, 03 Aug 2018 17:14:34 GMT
Author: tallison
Date: Fri Aug  3 17:14:34 2018
New Revision: 1837387

URL: http://svn.apache.org/viewvc?rev=1837387&view=rev
Log:
bug 62597 -- bump max record sizes up based on new failures in regression set.  I typically
bumped to 2x the max found in regression set.

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/streams/CompressedStreamStore.java
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/ExOleObjStg.java
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/SoundData.java
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/UnknownRecordPlaceholder.java
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/HWPFOldDocument.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/streams/CompressedStreamStore.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/streams/CompressedStreamStore.java?rev=1837387&r1=1837386&r2=1837387&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/streams/CompressedStreamStore.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/streams/CompressedStreamStore.java Fri
Aug  3 17:14:34 2018
@@ -30,7 +30,7 @@ import org.apache.poi.util.IOUtils;
 public final class CompressedStreamStore extends StreamStore {
 
 	//arbitrarily selected; may need to increase
-	private static final int MAX_RECORD_LENGTH = 1_000_000;
+	private static final int MAX_RECORD_LENGTH = 64_000_000;
 
 	/** The raw, compressed contents */
 	private byte[] compressedContents;

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/ExOleObjStg.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/ExOleObjStg.java?rev=1837387&r1=1837386&r2=1837387&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/ExOleObjStg.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/ExOleObjStg.java Fri Aug  3 17:14:34
2018
@@ -36,7 +36,7 @@ import org.apache.poi.util.LittleEndian;
 public class ExOleObjStg extends PositionDependentRecordAtom implements PersistRecord {
 
     //arbitrarily selected; may need to increase
-    private static final int MAX_RECORD_LENGTH = 1_000_000;
+    private static final int MAX_RECORD_LENGTH = 20_000_000;
 
     private int _persistId; // Found from PersistPtrHolder
 

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/SoundData.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/SoundData.java?rev=1837387&r1=1837386&r2=1837387&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/SoundData.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/SoundData.java Fri Aug  3 17:14:34
2018
@@ -32,7 +32,7 @@ public final class SoundData extends Rec
 
 
     //arbitrarily selected; may need to increase
-    private static final int MAX_RECORD_LENGTH = 10_485_760;
+    private static final int MAX_RECORD_LENGTH = 100_000_000;
 
     /**
      * Record header.

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/UnknownRecordPlaceholder.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/UnknownRecordPlaceholder.java?rev=1837387&r1=1837386&r2=1837387&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/UnknownRecordPlaceholder.java
(original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/UnknownRecordPlaceholder.java
Fri Aug  3 17:14:34 2018
@@ -34,7 +34,7 @@ public final class UnknownRecordPlacehol
 {
 
 	//arbitrarily selected; may need to increase
-	private static final int MAX_RECORD_LENGTH = 1_000_000;
+	private static final int MAX_RECORD_LENGTH = 20_000_000;
 
 	private byte[] _contents;
 	private long _type;

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java?rev=1837387&r1=1837386&r2=1837387&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java Fri
Aug  3 17:14:34 2018
@@ -66,7 +66,7 @@ public final class HSLFSlideShowImpl ext
     public static final int UNSET_OFFSET = -1;
 
     //arbitrarily selected; may need to increase
-    private static final int MAX_RECORD_LENGTH = 10_000_000;
+    private static final int MAX_RECORD_LENGTH = 200_000_000;
 
     // For logging
     private POILogger logger = POILogFactory.getLogger(this.getClass());

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/HWPFOldDocument.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/HWPFOldDocument.java?rev=1837387&r1=1837386&r2=1837387&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/HWPFOldDocument.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/HWPFOldDocument.java Fri Aug  3 17:14:34
2018
@@ -55,7 +55,7 @@ public class HWPFOldDocument extends HWP
             .getLogger( HWPFOldDocument.class );
 
     //arbitrarily selected; may need to increase
-    private static final int MAX_RECORD_LENGTH = 1_000_000;
+    private static final int MAX_RECORD_LENGTH = 10_000_000;
 
     private final static Charset DEFAULT_CHARSET = StringUtil.WIN_1252;
 



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


Mime
View raw message