Fixes #1770: afl-cmin in -T mode doesn't correctly divide inputs among threads

This commit is contained in:
forky2 2023-06-14 08:43:06 +01:00
parent 091d66fa92
commit fc1e352965

View File

@ -488,7 +488,7 @@ BEGIN {
if (threads) {
inputsperfile = in_count / threads
inputsperfile = int(in_count / threads)
if (in_count % threads) {
inputsperfile++;
}