aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2023-08-07 19:59:04 +0000
committerDominik Stadler <centic@apache.org>2023-08-07 19:59:04 +0000
commitf3997b49efaef3987f87e212ec41635b4339bbf9 (patch)
treebdf4e73d3b2757eea2fd2de2704063cac03bb5b9
parentac9da84c8649f2a80f594e13a269db6df319a813 (diff)
downloadpoi-f3997b49efaef3987f87e212ec41635b4339bbf9.tar.gz
poi-f3997b49efaef3987f87e212ec41635b4339bbf9.zip
Bug 66425: Avoid a ClassCastException found via oss-fuzz
Fix previous changes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911522 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java b/poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
index 0ce99759c1..4dac9d21bd 100644
--- a/poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
+++ b/poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
@@ -58,6 +58,9 @@ public abstract class BaseTestPPTIterating {
));
static final Map<String,Class<? extends Throwable>> EXCLUDED = new HashMap<>();
+ static {
+ EXCLUDED.put("clusterfuzz-testcase-minimized-POIHSLFFuzzer-6416153805979648.ppt", Exception.class);
+ }
public static Stream<Arguments> files() {
String dataDirName = System.getProperty(POIDataSamples.TEST_PROPERTY);