From 5c2a89412b08c4b71f2ab79b88f26827028916b4 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Thu, 7 Sep 2023 08:35:23 +0000 Subject: 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 Fixes https://oss-fuzz.com/testcase-detail/4959857092198400 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912157 13f79535-47bb-0310-9956-ffa450edef68 --- ...se-minimized-POIXWPFFuzzer-4959857092198400.docx | Bin 0 -> 50918 bytes test-data/spreadsheet/stress.xls | Bin 68096 -> 69120 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 test-data/document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx (limited to 'test-data') diff --git a/test-data/document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx b/test-data/document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx new file mode 100644 index 0000000000..fc5d388422 Binary files /dev/null and b/test-data/document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-4959857092198400.docx differ diff --git a/test-data/spreadsheet/stress.xls b/test-data/spreadsheet/stress.xls index a47f99b2cb..eeecaeb553 100644 Binary files a/test-data/spreadsheet/stress.xls and b/test-data/spreadsheet/stress.xls differ -- cgit v1.2.3