diff options
author | van Hauser <vh@thc.org> | 2020-08-11 10:24:45 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-11 10:24:45 +0200 |
commit | 0ba09ee85a65878e70d1a224f9d41fcbac3ff1e5 (patch) | |
tree | ad22351558d02c9215be35b0ee2846d2ef90e625 /src/afl-fuzz-one.c | |
parent | 67dac152269c48245dca88140b1238b36d5e0954 (diff) | |
download | afl++-0ba09ee85a65878e70d1a224f9d41fcbac3ff1e5.tar.gz |
enhancements
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r-- | src/afl-fuzz-one.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c index 9f38b8f8..2f724569 100644 --- a/src/afl-fuzz-one.c +++ b/src/afl-fuzz-one.c @@ -2236,8 +2236,8 @@ havoc_stage: clone_to = rand_below(afl, temp_len); - new_buf = ck_maybe_grow(BUF_PARAMS(out_scratch), - temp_len + clone_len); + new_buf = + ck_maybe_grow(BUF_PARAMS(out_scratch), temp_len + clone_len); /* Head */ @@ -2403,8 +2403,7 @@ havoc_stage: if (temp_len + extra_len >= MAX_FILE) { break; } - out_buf = - ck_maybe_grow(BUF_PARAMS(out), temp_len + extra_len); + out_buf = ck_maybe_grow(BUF_PARAMS(out), temp_len + extra_len); /* Tail */ memmove(out_buf + insert_at + extra_len, out_buf + insert_at, @@ -2499,8 +2498,8 @@ havoc_stage: clone_to = rand_below(afl, temp_len); - u8 *temp_buf = ck_maybe_grow(BUF_PARAMS(out_scratch), - temp_len + clone_len); + u8 *temp_buf = + ck_maybe_grow(BUF_PARAMS(out_scratch), temp_len + clone_len); /* Head */ |