From e0ec0450e98ae5be57e189fea810a4f484f3a07b Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Thu, 20 Jan 2022 05:06:49 +0000 Subject: tests: fuzz etc_hosts_parse That's just a follow-up to https://github.com/systemd/systemd/pull/22179 --- tools/oss-fuzz.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/oss-fuzz.sh') diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index cff90145ce..1d7412a81b 100755 --- a/tools/oss-fuzz.sh +++ b/tools/oss-fuzz.sh @@ -73,6 +73,11 @@ done zip -jqr "$OUT/fuzz-bcd_seed_corpus.zip" "$bcd" rm -rf "$bcd" +hosts=$(mktemp) +wget -O "$hosts" https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts +zip -jq "$OUT/fuzz-etc-hosts_seed_corpus.zip" "$hosts" +rm -rf "$hosts" + # The seed corpus is a separate flat archive for each fuzzer, # with a fixed name ${fuzzer}_seed_corpus.zip. for d in "$(dirname "$0")/../test/fuzz/fuzz-"*; do -- cgit v1.2.1