diff options
author | van Hauser <vh@thc.org> | 2020-04-17 12:04:16 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-17 12:04:16 +0200 |
commit | 263daaacafae423828d458c59817c5b96e4fd399 (patch) | |
tree | 264874a515211ce36bc3006f1ffa97d276614333 /qemu_mode/patches | |
parent | d3254d8066ca6cb7d13f4682eb756dc9cf591f32 (diff) | |
download | afl++-263daaacafae423828d458c59817c5b96e4fd399.tar.gz |
remove static from tmp var in qemu
Diffstat (limited to 'qemu_mode/patches')
-rw-r--r-- | qemu_mode/patches/afl-qemu-cpu-inl.h | 4 |
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; |