about summary refs log tree commit diff
path: root/qemu_mode/patches/afl-qemu-cpu-inl.h
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-17 13:30:12 +0200
committerhexcoder- <heiko@hexco.de>2020-04-17 13:30:12 +0200
commita6d4f04019db512a5f3be0735cf1eede14ac4375 (patch)
tree1b05fa6f42c63e3e82322f86050c5763f93b21e5 /qemu_mode/patches/afl-qemu-cpu-inl.h
parent87d27b861649295c3de93e48c47544f29f07f36a (diff)
parentf22d8120ef6814c9af3b7a0c291c1494137fc53c (diff)
downloadafl++-a6d4f04019db512a5f3be0735cf1eede14ac4375.tar.gz
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'qemu_mode/patches/afl-qemu-cpu-inl.h')
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-inl.h b/qemu_mode/patches/afl-qemu-cpu-inl.h
index ee3ec44e..06243141 100644
--- a/qemu_mode/patches/afl-qemu-cpu-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-inl.h
@@ -293,8 +293,8 @@ static void print_mappings(void) {
 
 void afl_forkserver(CPUState *cpu) {
 
-  u32                  map_size = 0;
-  static unsigned char tmp[4] = {0, 0, 0, 0};
+  u32           map_size = 0;
+  unsigned char tmp[4] = {0};
 
   if (forkserver_installed == 1) return;
   forkserver_installed = 1;