about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-06-14 10:53:01 +0300
committerGitHub <noreply@github.com>2023-06-14 10:53:01 +0300
commit9a0931858a4c6548d88436f717447cd856ae9b47 (patch)
tree3dc7f824aaa79e3fe2e648c11c11b15254ddbe17
parent091d66fa92cd9e4caa5829d579b1b996c49db8c9 (diff)
parentfc1e352965416fc9cc74db39c1fec25c95ef2a64 (diff)
downloadafl++-9a0931858a4c6548d88436f717447cd856ae9b47.tar.gz
Merge pull request #1771 from forky2/dev
Fixes #1770: afl-cmin in -T mode doesn't correctly divide inputs amon…
-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++;
     }