]> source.dussan.org Git - poi.git/commit
Bug 66425: Avoid a ClassCastException found via oss-fuzz
authorDominik Stadler <centic@apache.org>
Wed, 9 Aug 2023 07:23:04 +0000 (07:23 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 9 Aug 2023 07:23:04 +0000 (07:23 +0000)
commitfdeae16b0c617400d53266e36fc6123e59bbaed0
tree5e9460353ba067edb7165b1c075fa5022c718907
parente25c467209a17891bcf1c8bb9a706c1c67d79544
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=61317

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911565 13f79535-47bb-0310-9956-ffa450edef68
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-5440721166139392.doc [new file with mode: 0644]
test-data/spreadsheet/stress.xls