]> source.dussan.org Git - poi.git/commitdiff
Bug 66425: Avoid a ClassCastException found via oss-fuzz
authorDominik Stadler <centic@apache.org>
Mon, 7 Aug 2023 19:59:04 +0000 (19:59 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 7 Aug 2023 19:59:04 +0000 (19:59 +0000)
Fix previous changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911522 13f79535-47bb-0310-9956-ffa450edef68

poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java

index 0ce99759c1bf1c4815eb6a254fb82b3b9bbdd720..4dac9d21bdd21d6f1081d3bcf3abe7648c918e88 100644 (file)
@@ -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);