diff options
author | van Hauser <vh@thc.org> | 2020-02-11 11:32:20 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-02-11 11:32:20 +0100 |
commit | 5571142e25d09ec0d8775f07b5b664d52bfd93af (patch) | |
tree | 9fc34a7d1a34b5750db82aeda0d46bdf8f2210e9 | |
parent | 3b9ac30efa4f27978b1d9d82c605ec858f403f59 (diff) | |
download | afl++-5571142e25d09ec0d8775f07b5b664d52bfd93af.tar.gz |
dictionary insert stage count bugfix
-rw-r--r-- | docs/Changelog.md | 1 | ||||
-rw-r--r-- | src/afl-fuzz-one.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md index 751b051a..23b6ec6a 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -21,6 +21,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>. - all Python 2+3 versions supported now - changed execs_per_sec in fuzzer_stats from "current" execs per second (which is pointless) to total execs per second + - bugfix for dictionary insert stage count (fix via Google repo PR) - afl-clang-fast: - show in the help output for which llvm version it was compiled for - now does not need to be recompiled between trace-pc and pass diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c index 199b3ea8..c1f3f9ac 100644 --- a/src/afl-fuzz-one.c +++ b/src/afl-fuzz-one.c @@ -1474,7 +1474,7 @@ skip_interest: stage_name = "user extras (insert)"; stage_short = "ext_UI"; stage_cur = 0; - stage_max = extras_cnt * len; + stage_max = extras_cnt * (len + 1); orig_hit_cnt = new_hit_cnt; @@ -3492,7 +3492,7 @@ skip_interest: stage_name = "user extras (insert)"; stage_short = "ext_UI"; stage_cur = 0; - stage_max = extras_cnt * len; + stage_max = extras_cnt * (len + 1); orig_hit_cnt = new_hit_cnt; |