]> source.dussan.org Git - poi.git/commit
Bug 66425: Avoid Exceptions found via oss-fuzz
authorDominik Stadler <centic@apache.org>
Sat, 7 Oct 2023 22:12:43 +0000 (22:12 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 7 Oct 2023 22:12:43 +0000 (22:12 +0000)
commit5cd4fa548843e89525e48d6180ab6f3c5eb9833e
tree94b27e1b7789dfdba4da0257fad530b13561a18e
parenteb11f3324f6fc7f156839db24a85c21016f6003c
Bug 66425: Avoid Exceptions found via oss-fuzz

We try to avoid throwing ClassCastExceptions,
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=62795

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912796 13f79535-47bb-0310-9956-ffa450edef68
poi-scratchpad/src/test/java/org/apache/poi/hssf/converter/TestExcelConverterSuite.java
poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFShapeFactory.java
poi/src/main/java/org/apache/poi/util/LittleEndianByteArrayInputStream.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-5436547081830400.xls [new file with mode: 0644]
test-data/spreadsheet/stress.xls