diff options
author | van Hauser <vh@thc.org> | 2019-12-03 10:19:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 10:19:50 +0100 |
commit | a1e5a2e607ba7d45e76202062cc7e63699653e40 (patch) | |
tree | b773a557492a036d609c984af29355f4e7206841 | |
parent | 674fbc39f8bcac77a543693edace00c843fc411b (diff) | |
parent | 948a83ef9fdd6a38cc9cb969b1b7d71d19aad84f (diff) | |
download | afl++-a1e5a2e607ba7d45e76202062cc7e63699653e40.tar.gz |
Merge pull request #129 from devnexen/libdislocator_typo
libdislocator, typo fix.
-rw-r--r-- | libdislocator/libdislocator.so.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdislocator/libdislocator.so.c b/libdislocator/libdislocator.so.c index 72282834..d92a6985 100644 --- a/libdislocator/libdislocator.so.c +++ b/libdislocator/libdislocator.so.c @@ -321,7 +321,7 @@ void* realloc(void* ptr, size_t len) { if (ret && ptr) { - if (PTR_C(ptr) != ALLOC_CANARY) FATAL("bad allocator canary on realloc()"); + if (PTR_C(ptr) != alloc_canary) FATAL("bad allocator canary on realloc()"); memcpy(ret, ptr, MIN(len, PTR_L(ptr))); free(ptr); |