diff options
-rw-r--r-- | src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java | 9 | ||||
-rw-r--r-- | test-data/poifs/60256.bin | bin | 0 -> 7168 bytes |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java b/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java index 32f0f96ab6..a8826ffad0 100644 --- a/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java +++ b/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java @@ -31,6 +31,7 @@ import java.util.List; import org.apache.poi.POIDataSamples; import org.apache.poi.util.IOUtils; +import org.junit.Ignore; import org.junit.Test; public class TestOle10Native { @@ -107,4 +108,12 @@ public class TestOle10Native { } } } + + @Test + @Ignore("BUG 60256") + public void testOleNativeOOM() throws IOException, Ole10NativeException { + POIFSFileSystem fs = new POIFSFileSystem(dataSamples.openResourceAsStream("60256.bin")); + Ole10Native ole = Ole10Native.createFromEmbeddedOleObject(fs); + } + } diff --git a/test-data/poifs/60256.bin b/test-data/poifs/60256.bin Binary files differnew file mode 100644 index 0000000000..1fed50b1b5 --- /dev/null +++ b/test-data/poifs/60256.bin |