mirror of https://github.com/apache/poi.git
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
6e9fee0bc9
commit
bf6cd20f10
|
@ -23,7 +23,7 @@ import org.apache.poi.util.LittleEndian;
|
||||||
public class EscherBlipRecord extends EscherRecord {
|
public class EscherBlipRecord extends EscherRecord {
|
||||||
|
|
||||||
//arbitrarily selected; may need to increase
|
//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_START = (short) 0xF018;
|
||||||
public static final short RECORD_ID_END = (short) 0xF117;
|
public static final short RECORD_ID_END = (short) 0xF117;
|
||||||
|
|
|
@ -67,7 +67,7 @@ import org.apache.poi.util.LittleEndian;
|
||||||
public class ExOleObjAtom extends RecordAtom {
|
public class ExOleObjAtom extends RecordAtom {
|
||||||
|
|
||||||
//arbitrarily selected; may need to increase
|
//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,
|
* 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 {
|
public final class PPDrawing extends RecordAtom {
|
||||||
|
|
||||||
//arbitrarily selected; may need to increase
|
//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;
|
private byte[] _header;
|
||||||
|
|
|
@ -37,7 +37,7 @@ import java.util.Iterator;
|
||||||
public final class PPDrawingGroup extends RecordAtom {
|
public final class PPDrawingGroup extends RecordAtom {
|
||||||
|
|
||||||
//arbitrarily selected; may need to increase
|
//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;
|
private byte[] _header;
|
||||||
|
|
|
@ -32,7 +32,7 @@ public final class SoundData extends RecordAtom {
|
||||||
|
|
||||||
|
|
||||||
//arbitrarily selected; may need to increase
|
//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.
|
* Record header.
|
||||||
|
|
|
@ -40,7 +40,7 @@ public final class ListLevel
|
||||||
{
|
{
|
||||||
|
|
||||||
//arbitrarily selected; may need to increase
|
//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
|
private static final POILogger logger = POILogFactory
|
||||||
.getLogger( ListLevel.class );
|
.getLogger( ListLevel.class );
|
||||||
|
|
|
@ -35,7 +35,7 @@ import org.apache.poi.util.LittleEndian;
|
||||||
public final class PlexOfCps {
|
public final class PlexOfCps {
|
||||||
|
|
||||||
//arbitrarily selected; may need to increase
|
//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 _iMac;
|
||||||
private int _cbStruct;
|
private int _cbStruct;
|
||||||
|
|
Loading…
Reference in New Issue