From e2044c958b2103c3534e5211fb4ed452c3bb758a Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Mon, 15 Jul 2024 05:41:04 +0000 Subject: Bug 66425: Avoid exceptions found via poi-fuzz Prevent too much memory usage Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=67413 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919237 13f79535-47bb-0310-9956-ffa450edef68 --- poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java | 1 + poi-integration/src/test/resources/log4j2-test.xml | 1 + 2 files changed, 2 insertions(+) (limited to 'poi-integration') diff --git a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java index e54f7da1d6..73b27a979e 100644 --- a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java +++ b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java @@ -138,6 +138,7 @@ public class TestAllFiles { "spreadsheet/clusterfuzz-testcase-minimized-POIXSSFFuzzer-5089447305609216.xlsx", "spreadsheet/clusterfuzz-testcase-minimized-POIXSSFFuzzer-5089447305609216.xlsx", "spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-4651309315719168.xls", + "document/clusterfuzz-testcase-POIHWPFFuzzer-5696094627495936.doc", }); private static final Set EXPECTED_FAILURES = StressTestUtils.unmodifiableHashSet( diff --git a/poi-integration/src/test/resources/log4j2-test.xml b/poi-integration/src/test/resources/log4j2-test.xml index 3cbbac8cea..43fff138fa 100644 --- a/poi-integration/src/test/resources/log4j2-test.xml +++ b/poi-integration/src/test/resources/log4j2-test.xml @@ -37,6 +37,7 @@ + -- cgit v1.2.3 7d910c07662fb60f353ca83'>treecommitdiffstats