about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-10-24 03:16:22 +0200
committerDominik Maier <domenukk@gmail.com>2020-10-24 03:16:22 +0200
commit4e99e3b36c8af6488fde10fac8cdb0797c95e02a (patch)
tree466ddf019c164c6bf423354db506eb0a23ece381 /src
parent4a5df3dcfe11edcc6336d3cbfd5918f5ff4db564 (diff)
downloadafl++-4e99e3b36c8af6488fde10fac8cdb0797c95e02a.tar.gz
initializing testcase_buf
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c
index 4989a0ba..02e66a4e 100644
--- a/src/afl-fuzz-queue.c
+++ b/src/afl-fuzz-queue.c
@@ -325,6 +325,7 @@ void add_to_queue(afl_state_t *afl, u8 *fname, u32 len, u8 passed_det) {
   q->depth = afl->cur_depth + 1;
   q->passed_det = passed_det;
   q->trace_mini = NULL;
+  q->testcase_buf = NULL;
 
   if (q->depth > afl->max_depth) { afl->max_depth = q->depth; }