about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-03 12:34:23 +0100
committervan Hauser <vh@thc.org>2021-01-03 12:34:23 +0100
commit58039d181afcc22b54f42abeabe67ae9bb43e251 (patch)
tree505cb3aa25301961a25e920c22d33694bc0ceb94
parent880513651d271db538eeb3f04d046cf9ce6021f8 (diff)
downloadafl++-58039d181afcc22b54f42abeabe67ae9bb43e251.tar.gz
stability fix
-rw-r--r--src/afl-fuzz-redqueen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c
index bbd47ab2..c5db8fa1 100644
--- a/src/afl-fuzz-redqueen.c
+++ b/src/afl-fuzz-redqueen.c
@@ -854,7 +854,7 @@ exit_its:
   afl->stage_finds[STAGE_ITS] += new_hit_cnt - orig_hit_cnt;
   afl->stage_cycles[STAGE_ITS] += afl->fsrv.total_execs - orig_execs;
 
-  memcpy(orig_buf, buf, len);
+  memcpy(buf, orig_buf, len);
 
   return r;