]> 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 20:01:19 +0000 (20:01 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 7 Aug 2023 20:01:19 +0000 (20:01 +0000)
commit163ff25594bb2751ea2ea5e3df4f82fdf9219304
treee060a2367bc285df2d7138ed1db10ed8e942b558
parentf3997b49efaef3987f87e212ec41635b4339bbf9
Bug 66425: Avoid a ClassCastException found via oss-fuzz

We try to avoid throwing NullPointerException, 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=61266

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911523 13f79535-47bb-0310-9956-ffa450edef68
poi-examples/src/test/java/org/apache/poi/integration/TestXLSX2CSV.java
poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java
poi-ooxml/src/test/java/org/apache/poi/xssf/eventusermodel/TestReadOnlySharedStringsTable.java
test-data/spreadsheet/clusterfuzz-testcase-minimized-XLSX2CSVFuzzer-5025401116950528.xlsx [new file with mode: 0644]
test-data/spreadsheet/stress.xls