diff options
author | hexcoder- <heiko@hexco.de> | 2021-02-13 23:29:04 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-02-13 23:29:04 +0100 |
commit | e45333bcf96f86b5ef0b905a8e84fad7b7cb0427 (patch) | |
tree | 30deaa24dbcc759bf03df3b1043ef1ca69f89089 /src/afl-fuzz-extras.c | |
parent | c906c042be926652aa2e2d9fb4886ee03f5d86c2 (diff) | |
parent | 9bd1e19d7f004b4da6a610b07e59f99d66bb7ec2 (diff) | |
download | afl++-e45333bcf96f86b5ef0b905a8e84fad7b7cb0427.tar.gz |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'src/afl-fuzz-extras.c')
-rw-r--r-- | src/afl-fuzz-extras.c | 2 |
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 } |