diff options
-rw-r--r-- | malloc/malloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index e229181..9614954 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -3775,6 +3775,8 @@ _int_malloc (mstate av, size_t bytes) } /* remove from unsorted list */ + if (__glibc_unlikely (bck->fd != victim)) + malloc_printerr ("malloc(): corrupted unsorted chunks 3"); unsorted_chunks (av)->bk = bck; bck->fd = unsorted_chunks (av); |