From 2b33be939ad3be07e54f5223cfe0711f29cd35c1 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Fri, 5 Jun 2020 09:55:22 +0200 Subject: fix qemu mode --- qemu_mode/patches/afl-qemu-cpu-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu_mode/patches/afl-qemu-cpu-inl.h') 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) -- cgit 1.4.1