diff options
-rw-r--r-- | include/debug.h | 2 | ||||
-rw-r--r-- | src/afl-sharedmem.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/debug.h b/include/debug.h index e2ee16a8..c2f20f0f 100644 --- a/include/debug.h +++ b/include/debug.h @@ -388,6 +388,8 @@ static inline const char *colorfilter(const char *x) { \ } while (1); \ \ + \ + \ } while (0) #define ck_read(fd, buf, len, fn) \ diff --git a/src/afl-sharedmem.c b/src/afl-sharedmem.c index 8d58bb3e..63575318 100644 --- a/src/afl-sharedmem.c +++ b/src/afl-sharedmem.c @@ -107,7 +107,7 @@ void afl_shm_deinit(sharedmem_t *shm) { if (shm->cmp_map != NULL) { munmap(shm->cmp_map, shm->map_size); - shm->map = NULL; + shm->cmp_map = NULL; } |