about summary refs log tree commit diff
path: root/src/afl-fuzz-extras.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-28 14:11:33 +0100
committervan Hauser <vh@thc.org>2021-01-28 14:11:33 +0100
commita61a30dee03aced16d117150c4dbfd7079de7e68 (patch)
tree54d9b3d693f72a515c120b27e9156b1b80356c7c /src/afl-fuzz-extras.c
parentd62c83d58f67cd911b0a49f0e6662ac5b75741ad (diff)
downloadafl++-a61a30dee03aced16d117150c4dbfd7079de7e68.tar.gz
fix another pending_not_fuzzed location
Diffstat (limited to 'src/afl-fuzz-extras.c')
-rw-r--r--src/afl-fuzz-extras.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-extras.c b/src/afl-fuzz-extras.c
index a3583651..7ecad233 100644
--- a/src/afl-fuzz-extras.c
+++ b/src/afl-fuzz-extras.c
@@ -413,7 +413,7 @@ void dedup_extras(afl_state_t *afl) {
         if (j + 1 < afl->extras_cnt)  // not at the end of the list?
           memmove((char *)&afl->extras[j], (char *)&afl->extras[j + 1],
                   (afl->extras_cnt - j - 1) * sizeof(struct extra_data));
-        afl->extras_cnt--;
+        --afl->extras_cnt;
         goto restart_dedup;  // restart if several duplicates are in a row
 
       }