From 31fd087a4895239e01d09ee68389b2a5e78c3d47 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Mon, 7 Aug 2023 09:42:17 +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 Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61249 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911501 13f79535-47bb-0310-9956-ffa450edef68 --- ...stcase-minimized-POIFuzzer-6709287337197568.docx | Bin 0 -> 12632 bytes test-data/spreadsheet/stress.xls | Bin 40448 -> 58880 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 test-data/document/clusterfuzz-testcase-minimized-POIFuzzer-6709287337197568.docx (limited to 'test-data') diff --git a/test-data/document/clusterfuzz-testcase-minimized-POIFuzzer-6709287337197568.docx b/test-data/document/clusterfuzz-testcase-minimized-POIFuzzer-6709287337197568.docx new file mode 100644 index 0000000000..ff963e1ebb Binary files /dev/null and b/test-data/document/clusterfuzz-testcase-minimized-POIFuzzer-6709287337197568.docx differ diff --git a/test-data/spreadsheet/stress.xls b/test-data/spreadsheet/stress.xls index 6ad5da595b..74b0f1b5da 100644 Binary files a/test-data/spreadsheet/stress.xls and b/test-data/spreadsheet/stress.xls differ -- cgit v1.2.3