diff options
author | David Carlier <dcarlier@afilias.info> | 2019-12-03 09:01:23 +0000 |
---|---|---|
committer | David Carlier <dcarlier@afilias.info> | 2019-12-03 09:01:23 +0000 |
commit | 948a83ef9fdd6a38cc9cb969b1b7d71d19aad84f (patch) | |
tree | 106ff8a49f731175f88968a6e8fd07b9f728ba9f | |
parent | 2b0cfe1ab53f2a43db098a66e8b585420352677d (diff) | |
download | afl++-948a83ef9fdd6a38cc9cb969b1b7d71d19aad84f.tar.gz |
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); |