view fuzzers_test.sh @ 1669:3080aed32bf1

scp.c: Port OpenSSH CVE-2018-20685 fix (#80)
author Haelwenn Monnier <contact+github.com@hacktivis.me>
date Mon, 25 May 2020 14:54:29 +0200
parents f52919ffd3b1
children 8b27de2c92ee
line wrap: on
line source

#!/bin/sh

# runs fuzz corpus with standalone fuzzers

result=0

test -d fuzzcorpus && hg --repository fuzzcorpus/ pull || hg clone https://secure.ucc.asn.au/hg/dropbear-fuzzcorpus fuzzcorpus || exit 1
for f in `make list-fuzz-targets`; do
    ./$f fuzzcorpus/$f/* || result=1
done

exit $result