]> 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 15:15:38 +0000 (15:15 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 7 Aug 2023 15:15:38 +0000 (15:15 +0000)
commit5efa428ca0cbf421fa394c53b600d9f242d69e0f
tree514d16f5ccc8cd3157e641599859a0b337228fbe
parent2c5264277a879b4adba6593b79053fbb8ae4df29
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=61242

Also enhance output of some test-failures and allow an empty exception message

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911515 13f79535-47bb-0310-9956-ffa450edef68
poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java
poi/src/test/java/org/apache/poi/hssf/dev/BaseTestIteratingXLS.java
poi/src/test/java/org/apache/poi/hssf/dev/TestBiffDrawingToXml.java
poi/src/test/java/org/apache/poi/hssf/model/TestDrawingAggregate.java
test-data/spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-5285517825277952.xls [new file with mode: 0644]
test-data/spreadsheet/stress.xls