strange fuzzer failure

possible fix
This commit is contained in:
John Cupitt 2019-10-07 15:57:00 +01:00
parent 71b557cfc1
commit f98adc1a0a
1 changed files with 6 additions and 7 deletions

View File

@ -14,13 +14,12 @@ export VIPS_WARNING=0
ret=0
for fuzzer in *_fuzzer; do
fail=0
find "common_fuzzer_corpus" -type f -not -empty -print0 \
| xargs -0 -n1 "./$fuzzer" || fail=1
if [ $fail ]; then
echo FAIL $fuzzer
ret=1
fi
for file in common_fuzzer_corpus/*; do
if ! ./$fuzzer $file; then
echo FAIL $fuzzer $file
ret=1
fi
done
done
exit $ret