aboutsummaryrefslogtreecommitdiff
path: root/afl-cmin
diff options
context:
space:
mode:
authorforky2 <63731115+forky2@users.noreply.github.com>2023-06-14 08:43:06 +0100
committerforky2 <63731115+forky2@users.noreply.github.com>2023-06-14 08:43:06 +0100
commitfc1e352965416fc9cc74db39c1fec25c95ef2a64 (patch)
tree3dc7f824aaa79e3fe2e648c11c11b15254ddbe17 /afl-cmin
parent091d66fa92cd9e4caa5829d579b1b996c49db8c9 (diff)
downloadAFLplusplus-fc1e352965416fc9cc74db39c1fec25c95ef2a64.tar.gz
Fixes #1770: afl-cmin in -T mode doesn't correctly divide inputs among threads
Diffstat (limited to 'afl-cmin')
-rwxr-xr-xafl-cmin2
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-cmin b/afl-cmin
index ae723c1b..de76caf8 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -488,7 +488,7 @@ BEGIN {
if (threads) {
- inputsperfile = in_count / threads
+ inputsperfile = int(in_count / threads)
if (in_count % threads) {
inputsperfile++;
}