about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-05 09:55:22 +0200
committervan Hauser <vh@thc.org>2020-06-05 09:55:22 +0200
commit2b33be939ad3be07e54f5223cfe0711f29cd35c1 (patch)
treed467ae06b04f32783400832c17015b6dc20ccff5
parente01cad2f7de77c4704243d7011de2bff95fd59f7 (diff)
downloadafl++-2b33be939ad3be07e54f5223cfe0711f29cd35c1.tar.gz
fix qemu mode
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-inl.h b/qemu_mode/patches/afl-qemu-cpu-inl.h
index 8feb7613..e4953cb1 100644
--- a/qemu_mode/patches/afl-qemu-cpu-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-inl.h
@@ -334,7 +334,7 @@ void afl_forkserver(CPUState *cpu) {
   int   t_fd[2];
   u8    child_stopped = 0;
   u32   was_killed;
-  int   status;
+  int   status = 0;
 
   // with the max ID value
   if (MAP_SIZE <= FS_OPT_MAX_MAPSIZE)