about summary refs log tree commit diff
path: root/custom_mutators/aflpp/aflpp.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-06-13 09:20:42 +0200
committerGitHub <noreply@github.com>2024-06-13 09:20:42 +0200
commit36db3428ab16156dd72196213d2a02a5eadaed11 (patch)
tree619b14542f1f9495360b024492898d6f6b819f92 /custom_mutators/aflpp/aflpp.c
parent9f6b012fbfc8b79dda83e73a208e429aaf25e7ee (diff)
parente7da8b9d6bf20b1cac960b1eccf3beac3fbf7901 (diff)
downloadafl++-36db3428ab16156dd72196213d2a02a5eadaed11.tar.gz
Merge pull request #2123 from AFLplusplus/dev
push to stable
Diffstat (limited to 'custom_mutators/aflpp/aflpp.c')
-rw-r--r--custom_mutators/aflpp/aflpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_mutators/aflpp/aflpp.c b/custom_mutators/aflpp/aflpp.c
index 0b236f76..ea50751a 100644
--- a/custom_mutators/aflpp/aflpp.c
+++ b/custom_mutators/aflpp/aflpp.c
@@ -48,7 +48,7 @@ size_t afl_custom_fuzz(my_mutator_t *data, uint8_t *buf, size_t buf_size,
 
     u8 *ptr = realloc(data->buf, max_size);
 
-    if (ptr) {
+    if (!ptr) {
 
       return 0;