about summary refs log tree commit diff
path: root/qemu_mode/libqasan/dlmalloc.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-08-19 16:51:42 +0200
committerGitHub <noreply@github.com>2024-08-19 16:51:42 +0200
commitf27cbdb79349d6f4f6e859a356758b634be72652 (patch)
tree8e1dbb1b8454c470aa5e0093f6d89c5cc86e9200 /qemu_mode/libqasan/dlmalloc.c
parentdb23931e7c1727ddac8691a6241c97b2203ec6fc (diff)
parent1689a8e053c1f73e16331bfeda28c79e1ed4bbd0 (diff)
downloadafl++-f27cbdb79349d6f4f6e859a356758b634be72652.tar.gz
Merge pull request #2190 from AFLplusplus/dev
push to stable
Diffstat (limited to 'qemu_mode/libqasan/dlmalloc.c')
-rw-r--r--qemu_mode/libqasan/dlmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/libqasan/dlmalloc.c b/qemu_mode/libqasan/dlmalloc.c
index 1919ae26..d1d4dc08 100644
--- a/qemu_mode/libqasan/dlmalloc.c
+++ b/qemu_mode/libqasan/dlmalloc.c
@@ -2355,7 +2355,7 @@ typedef unsigned int         flag_t;   /* The type of various bit flag sets */
 
   /* conversion from malloc headers to user pointers, and back */
   #define chunk2mem(p) ((void *)((char *)(p) + TWO_SIZE_T_SIZES))
-  #define mem2chunk(mem) ((mchunkptr)((char *)(mem)-TWO_SIZE_T_SIZES))
+  #define mem2chunk(mem) ((mchunkptr)((char *)(mem) - TWO_SIZE_T_SIZES))
   /* chunk associated with aligned address A */
   #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))