Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't create empty corpus archive as it wont unpack. #3903

Merged
merged 1 commit into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions infra/base-images/base-runner/coverage
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function run_fuzz_target {
local profraw_file_mask="$DUMPS_DIR/$target.*.profraw"
local profdata_file="$DUMPS_DIR/$target.profdata"
local corpus_real="/corpus/${target}"
mkdir -p $corpus_real

# -merge=1 requires an output directory, create a dummy dir for that.
local corpus_dummy="$OUT/dummy_corpus_dir_for_${target}"
Expand Down
2 changes: 1 addition & 1 deletion infra/base-images/base-runner/download_corpus
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi

for pair in "$@"; do
read path url <<< "$pair"
wget -q -O $path $url
wget -q -O $path $url || rm $path
done

# Always exit with 0 as we do not track wget return codes and should not rely
Expand Down