diff --git a/projects/libsndfile/build.sh b/projects/libsndfile/build.sh index 77d3f65da..fc0a8ebcc 100755 --- a/projects/libsndfile/build.sh +++ b/projects/libsndfile/build.sh @@ -17,3 +17,9 @@ # Run the OSS-Fuzz script in the project. ./ossfuzz/ossfuzz.sh + +# To make CIFuzz fast, see here for details: https://github.com/libsndfile/libsndfile/pull/796 +for fuzzer in sndfile_alt_fuzzer sndfile_fuzzer; do + echo "[libfuzzer]" > ${OUT}/${fuzzer}.options + echo "close_fd_mask = 3" >> ${OUT}/${fuzzer}.options +done