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:
parent
3a622169d3
commit
7a2ce09761
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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 );
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user