aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-17 12:04:16 +0200
committervan Hauser <vh@thc.org>2020-04-17 12:04:16 +0200
commit263daaacafae423828d458c59817c5b96e4fd399 (patch)
tree264874a515211ce36bc3006f1ffa97d276614333
parentd3254d8066ca6cb7d13f4682eb756dc9cf591f32 (diff)
downloadafl++-263daaacafae423828d458c59817c5b96e4fd399.tar.gz
remove static from tmp var in qemu
-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;