/[Apache-SVN]
ViewVC logotype

Revision 1911494


Jump to revision: Previous Next
Author: centic
Date: Sun Aug 6 14:57:47 2023 UTC (15 months, 2 weeks ago)
Changed paths: 4
Log Message:
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

Also rework test a bit to use try-with-resources and proper formatting

Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61221

Changed paths

Path Details
Directorypoi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/Chunks.java modified , text changed
Directorypoi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hsmf/parsers/TestPOIFSChunkParser.java modified , text changed
Directorypoi/trunk/test-data/hsmf/clusterfuzz-testcase-minimized-POIHSMFFuzzer-4848576776503296.msg added
Directorypoi/trunk/test-data/spreadsheet/stress.xls modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26