diff options
author | vanhauser-thc <vh@thc.org> | 2024-05-16 14:21:00 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2024-05-16 14:21:00 +0200 |
commit | ba7ae6c59d52d4a007fe53f415106277ae68b067 (patch) | |
tree | 554df699dc27b18226a3a3c798520e4551e2dd47 /src/afl-fuzz-run.c | |
parent | 6ae95271becde1cd35a7792fd31ff84a548561ea (diff) | |
download | afl++-ba7ae6c59d52d4a007fe53f415106277ae68b067.tar.gz |
nits
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 2a55da00..4e2cceff 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -606,6 +606,8 @@ u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem, } q->exec_us = diff_us / afl->stage_max; + if (unlikely(!q->exec_us)) { q->exec_us = 1; } + q->bitmap_size = count_bytes(afl, afl->fsrv.trace_bits); q->handicap = handicap; q->cal_failed = 0; |