Skip to content

Commit

Permalink
Merge pull request #5 from derdav3/patch-1
Browse files Browse the repository at this point in the history
Solve empty and non-performing seed case
  • Loading branch information
mboehme committed Jul 23, 2021
2 parents 11ec182 + d106b5c commit d1d54ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion afl-fuzz.c
Original file line number Diff line number Diff line change
Expand Up @@ -5157,7 +5157,7 @@ static u8 fuzz_one(char** argv) {

orig_perf = perf_score = calculate_score(queue_cur);

if (perf_score == 0) goto abandon_entry;
if (perf_score == 0 && queued_paths > 10) goto abandon_entry;

/* Skip right away if -d is given, if it has not been chosen sufficiently
often to warrant the expensive deterministic stage (fuzz_level), or
Expand Down

0 comments on commit d1d54ca

Please sign in to comment.