aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcases/org/apache/poi')
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java9
1 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);
+ }
+
}