diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2022-01-20 05:06:49 +0000 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-01-20 15:53:48 +0900 |
commit | e0ec0450e98ae5be57e189fea810a4f484f3a07b (patch) | |
tree | c8364f1dda5f05d62f3db3fd4db5d8395f65905c /tools | |
parent | 98b1eb711cfc70776fefd3d4ec437a6a4f9aeff2 (diff) | |
download | systemd-e0ec0450e98ae5be57e189fea810a4f484f3a07b.tar.gz |
tests: fuzz etc_hosts_parse
That's just a follow-up to https://github.com/systemd/systemd/pull/22179
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/oss-fuzz.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |