]> source.dussan.org Git - poi.git/commit
Bug 66425: Avoid a ClassCastException found via oss-fuzz
authorDominik Stadler <centic@apache.org>
Mon, 7 Aug 2023 16:18:46 +0000 (16:18 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 7 Aug 2023 16:18:46 +0000 (16:18 +0000)
commit8e40aabb187903a8d8cf60d6bbff23d3023751a6
treeb4fdb670de0c2b6d33ce2e44c4308c168393d49f
parent738d533a83669b1335cbd9a069c3491bc05aae1f
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing ClassCastException, but it was possible
to trigger one here with a specially crafted input-file

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61259

Also fix handling of NullPointerException

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911517 13f79535-47bb-0310-9956-ffa450edef68
poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java
test-data/slideshow/clusterfuzz-testcase-minimized-POIHSLFFuzzer-6416153805979648.ppt [new file with mode: 0644]
test-data/spreadsheet/stress.xls