]> source.dussan.org Git - poi.git/commit
Bug 66425: Avoid exceptions found via poi-fuzz
authorDominik Stadler <centic@apache.org>
Thu, 21 Sep 2023 15:06:28 +0000 (15:06 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 21 Sep 2023 15:06:28 +0000 (15:06 +0000)
commitc79fb75cbccccfa65aa7343a793f6284dd7510f0
treef5d1d00384d4710d31395fc04fca24f2f29e50c2
parenta9aa91a9ed443e73b39cf038bea9ea7a586661f8
Bug 66425: Avoid exceptions found via poi-fuzz

We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible
to trigger them

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62548 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62564

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912464 13f79535-47bb-0310-9956-ffa450edef68
poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFDiagram.java
poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/BaseTestPPTIterating.java
poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestPPTXMLDump.java
poi/src/main/java/org/apache/poi/poifs/crypt/agile/KeyData.java
test-data/slideshow/clusterfuzz-testcase-minimized-POIFuzzer-6411649193738240.ppt [new file with mode: 0644]
test-data/slideshow/clusterfuzz-testcase-minimized-POIXSLFFuzzer-5471515212382208.pptx [new file with mode: 0644]
test-data/spreadsheet/stress.xls