diff options
author | van Hauser <vh@thc.org> | 2021-02-26 09:45:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 09:45:43 +0100 |
commit | 78d96c4dc86ac20e2a6e244017407ccc037ff13b (patch) | |
tree | e277f092c27714f75e0c19f9ac8ab18dbfd1745a /qemu_mode/libqasan/dlmalloc.c | |
parent | 7ae7b0f3732cfd9d82cf9403818012d00faa07c3 (diff) | |
parent | ee0ca07f3c9f7c5971440f5dca70a2ee6f37584d (diff) | |
download | afl++-78d96c4dc86ac20e2a6e244017407ccc037ff13b.tar.gz |
Merge pull request #759 from AFLplusplus/dev
push to stable
Diffstat (limited to 'qemu_mode/libqasan/dlmalloc.c')
-rw-r--r-- | qemu_mode/libqasan/dlmalloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu_mode/libqasan/dlmalloc.c b/qemu_mode/libqasan/dlmalloc.c index bace0ff6..aff58ad5 100644 --- a/qemu_mode/libqasan/dlmalloc.c +++ b/qemu_mode/libqasan/dlmalloc.c @@ -3917,6 +3917,7 @@ static void internal_malloc_stats(mstate m) { \ } else if (RTCHECK(B == smallbin_at(M, I) || \ \ + \ (ok_address(M, B) && B->fd == P))) { \ \ F->bk = B; \ @@ -4128,6 +4129,7 @@ static void internal_malloc_stats(mstate m) { \ } else \ \ + \ CORRUPTION_ERROR_ACTION(M); \ if (R != 0) { \ \ @@ -4144,6 +4146,7 @@ static void internal_malloc_stats(mstate m) { \ } else \ \ + \ CORRUPTION_ERROR_ACTION(M); \ \ } \ @@ -4156,12 +4159,14 @@ static void internal_malloc_stats(mstate m) { \ } else \ \ + \ CORRUPTION_ERROR_ACTION(M); \ \ } \ \ } else \ \ + \ CORRUPTION_ERROR_ACTION(M); \ \ } \ |