You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2026/10/25 18:57:14 UTC
(poi) 08/08: Add missing dependency for FileHandlerFuzzer
This is an automated email from the ASF dual-hosted git repository.
centic9 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
commit 6eb2a1d996a37caefb0e1a269f7e628e9609daa6
Author: Dominik Stadler <ce...@apache.org>
AuthorDate: Sun Oct 25 12:59:56 2026 +0100
Add missing dependency for FileHandlerFuzzer
---
poi-fuzz/README.md | 6 ++++++
poi-fuzz/build.gradle | 3 +++
2 files changed, 9 insertions(+)
diff --git a/poi-fuzz/README.md b/poi-fuzz/README.md
index 16d916ce96..e9d2cbf0e9 100644
--- a/poi-fuzz/README.md
+++ b/poi-fuzz/README.md
@@ -167,6 +167,12 @@ Can re-use XSSF-corpus as the same files are processed here
mkdir corpusFormulaParser
../gradlew shadowJar && ./jazzer --cp=build/libs/poi-fuzz-all.jar "--instrumentation_includes=org.apache.poi.**:org.apache.xmlbeans.**" --target_class=org.apache.poi.fuzz.FormulaParserFuzzer -rss_limit_mb=2560 corpusFormulaParser
+## FileHandler
+
+Reuses main corpus
+
+ ../gradlew shadowJar && ./jazzer --cp=build/libs/poi-fuzz-all.jar "--instrumentation_includes=org.apache.poi.**:org.apache.xmlbeans.**" --target_class=org.apache.poi.fuzz.POIFileHandlerFuzzer -rss_limit_mb=2560 corpus
+
# Detected issues
* Many of the exceptions are not declared as being thrown in the JavaDoc of Apache POI,
diff --git a/poi-fuzz/build.gradle b/poi-fuzz/build.gradle
index a4f6ba8b20..8815205fd1 100644
--- a/poi-fuzz/build.gradle
+++ b/poi-fuzz/build.gradle
@@ -36,6 +36,9 @@ dependencies {
implementation 'org.opentest4j:opentest4j:1.3.0'
implementation 'com.code-intelligence:jazzer-api:0.30.0'
+ // POIFileHandlerFuzzer includes some code from JUnit
+ implementation 'org.junit.jupiter:junit-jupiter-api:6.1.3'
+
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org