diff options
author | vanhauser-thc <vh@thc.org> | 2021-03-05 19:19:43 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-03-05 19:19:43 +0100 |
commit | 44be521ab8ef5d62847ae48ebdb060d84aae5e47 (patch) | |
tree | 293c03c7bec3661d14d346a34225c3986297df46 /instrumentation/afl-compiler-rt.o.c | |
parent | c9819e3b94796e22546596d1c16c9e89ce272e35 (diff) | |
download | afl++-44be521ab8ef5d62847ae48ebdb060d84aae5e47.tar.gz |
fix
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 1d8fd757..c741bc05 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -370,10 +370,10 @@ static void __afl_map_shm(void) { } close(shm_fd); + shm_fd = -1; if (shm_base == MAP_FAILED) { - shm_fd = -1; fprintf(stderr, "mmap() failed\n"); perror("mmap for map"); |