diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index 200407fcca0..2db5b4cc44c 100755 --- a/tools/oss-fuzz.sh +++ b/tools/oss-fuzz.sh @@ -44,8 +44,7 @@ df=$build/dns-fuzzing git clone --depth 1 https://github.com/CZ-NIC/dns-fuzzing $df zip -jqr $OUT/fuzz-dns-packet_seed_corpus.zip $df/packet -# install the private shared library without executable permissions -install -Dt $OUT/src/shared/ -m 0644 $build/src/shared/libsystemd-shared-*.so +install -Dt $OUT/src/shared/ $build/src/shared/libsystemd-shared-*.so find $build -maxdepth 1 -type f -executable -name "fuzz-*" -exec mv {} $OUT \; cp src/fuzz/*.options $OUT