diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-04-14 10:12:41 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-04-14 10:12:41 +0200 |
commit | 1d62bf1c37b9a1803745abb41ed41057959a45d2 (patch) | |
tree | 3e33e4d0535291ca5a6968c3ed5bb18f72acd20e /src/afl-fuzz-queue.c | |
parent | 982d46e7cb2c7cabcd8969e6303c3cb8f3d8e56a (diff) | |
parent | 1374e65401c9d40b449c78459a2d0241c779b989 (diff) | |
download | afl++-1d62bf1c37b9a1803745abb41ed41057959a45d2.tar.gz |
solve conflicts
Diffstat (limited to 'src/afl-fuzz-queue.c')
-rw-r--r-- | src/afl-fuzz-queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c index 346c2639..5eb110d0 100644 --- a/src/afl-fuzz-queue.c +++ b/src/afl-fuzz-queue.c @@ -438,6 +438,8 @@ u32 calculate_score(afl_state_t *afl, struct queue_entry *q) { } + if (unlikely(!n_paths)) FATAL("Queue state corrupt"); + fuzz_mu = fuzz_total / n_paths; if (fuzz <= fuzz_mu) { |