]> 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 12:09:31 +0000 (12:09 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 7 Aug 2023 12:09:31 +0000 (12:09 +0000)
commitf6b1435db196b4a2d7079191a15a4018915f70a5
tree61b99deb8af4911e041e7d058b750f68516224d2
parented12f1bb499a09f69d43412fe010cd26ba1e40d6
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=61243

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911507 13f79535-47bb-0310-9956-ffa450edef68
poi-integration/src/test/java/org/apache/poi/stress/HPSFFileHandler.java
poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
poi-scratchpad/src/test/java/org/apache/poi/hwpf/converter/TestWordToConverterSuite.java
poi-scratchpad/src/test/java/org/apache/poi/hwpf/converter/TestWordToTextConverter.java
test-data/document/clusterfuzz-testcase-minimized-POIHWPFFuzzer-5418937293340672.doc [new file with mode: 0644]
test-data/spreadsheet/stress.xls