Bug 61349 -- bump limits on classes that caused regressions in Dominik's regression corpus. Many thanks to Dominik Stadler for running the regression tests!!!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tim Allison 2017-09-25 12:53:10 +00:00
parent 6e9fee0bc9
commit bf6cd20f10
7 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ import org.apache.poi.util.LittleEndian;
public class EscherBlipRecord extends EscherRecord {
//arbitrarily selected; may need to increase
private static final int MAX_RECORD_LENGTH = 100_000_000;
private static final int MAX_RECORD_LENGTH = 104_857_600;
public static final short RECORD_ID_START = (short) 0xF018;
public static final short RECORD_ID_END = (short) 0xF117;

View File

@ -67,7 +67,7 @@ import org.apache.poi.util.LittleEndian;
public class ExOleObjAtom extends RecordAtom {
//arbitrarily selected; may need to increase
private static final int MAX_RECORD_LENGTH = 1_000_000;
private static final int MAX_RECORD_LENGTH = 10_485_760;
/**
* The object) is displayed as an embedded object inside of a container,

View File

@ -55,7 +55,7 @@ import org.apache.poi.util.POILogger;
public final class PPDrawing extends RecordAtom {
//arbitrarily selected; may need to increase
private static final int MAX_RECORD_LENGTH = 1_000_000;
private static final int MAX_RECORD_LENGTH = 10_485_760;
private byte[] _header;

View File

@ -37,7 +37,7 @@ import java.util.Iterator;
public final class PPDrawingGroup extends RecordAtom {
//arbitrarily selected; may need to increase
private static final int MAX_RECORD_LENGTH = 100_000;
private static final int MAX_RECORD_LENGTH = 10_485_760;
private byte[] _header;

View File

@ -32,7 +32,7 @@ public final class SoundData extends RecordAtom {
//arbitrarily selected; may need to increase
private static final int MAX_RECORD_LENGTH = 1_000_000;
private static final int MAX_RECORD_LENGTH = 10_485_760;
/**
* Record header.

View File

@ -40,7 +40,7 @@ public final class ListLevel
{
//arbitrarily selected; may need to increase
private static final int MAX_RECORD_LENGTH = 100_000;
private static final int MAX_RECORD_LENGTH = 10_485_760;
private static final POILogger logger = POILogFactory
.getLogger( ListLevel.class );

View File

@ -35,7 +35,7 @@ import org.apache.poi.util.LittleEndian;
public final class PlexOfCps {
//arbitrarily selected; may need to increase
private static final int MAX_RECORD_LENGTH = 100_000;
private static final int MAX_RECORD_LENGTH = 10_485_760;
private int _iMac;
private int _cbStruct;