diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-07-23 18:31:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 17:31:07 +0100 |
commit | 08c3b789f2fb8f1b4ba0e883252ea1bd2d117046 (patch) | |
tree | 94d2f5496963d07fddada4c221fa03501261387a /projects/apache-commons | |
parent | 3bd4c2d3ac3f114d98551aa4aa5fb06acb21c16a (diff) | |
download | oss-fuzz-08c3b789f2fb8f1b4ba0e883252ea1bd2d117046.tar.gz |
[apache-commons] Run fuzzers in headless mode (#6107)
Running the fuzzers in headless mode works around missing dependencies
for the full Java AWT libraries. It is likely that the commons-imaging
only uses features available in headless mode, in which case this would
be a complete fix for the fuzzer startup crashes observed on
ClusterFuzz.
Diffstat (limited to 'projects/apache-commons')
-rwxr-xr-x | projects/apache-commons/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/apache-commons/build.sh b/projects/apache-commons/build.sh index b7a95768f..46fa6e11e 100755 --- a/projects/apache-commons/build.sh +++ b/projects/apache-commons/build.sh @@ -50,7 +50,7 @@ LD_LIBRARY_PATH=\"$JVM_LD_LIBRARY_PATH\":\$this_dir \ \$this_dir/jazzer_driver --agent_path=\$this_dir/jazzer_agent_deploy.jar \ --cp=$RUNTIME_CLASSPATH \ --target_class=$fuzzer_basename \ ---jvm_args=\"-Xmx2048m\" \ +--jvm_args=\"-Xmx2048m;-Djava.awt.headless=true\" \ \$@" > $OUT/$fuzzer_basename chmod +x $OUT/$fuzzer_basename done |