diff --git a/afl_utils/afl_multicore.py b/afl_utils/afl_multicore.py index d50f7d5..034560a 100644 --- a/afl_utils/afl_multicore.py +++ b/afl_utils/afl_multicore.py @@ -231,7 +231,6 @@ def get_master_count(conf_settings): def get_started_instance_count(command, conf_settings): instances_started = 0 if command == "add": - instances_started = 0 dirs = os.listdir(conf_settings["output"]) for d in dirs: if os.path.isdir(os.path.abspath(os.path.join(conf_settings["output"], d))) \ @@ -357,7 +356,7 @@ def main(argv): print_ok("Starting fuzzer instance(s)...") jobs_offset += instances_started - jobs_count += instances_started + jobs_offset + jobs_count += jobs_offset for i in range(jobs_offset, jobs_count, 1): is_master = has_master(conf_settings, i) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index dabae4c..ad658f1 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -14,6 +14,8 @@ Version 1.32a - Implemented option in afl-multicore to run arbitrary fuzzer instead of default afl-fuzz (#35, suggested by Bhargava Shastry). - Implemented multi-master mode support in afl-multicore (#36). + - Bug affecting job counts in afl-multicore fixed (reported by Henri + Salo). Version 1.31a