about summary refs log tree commit diff
path: root/src/afl-fuzz-bitmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-10-21 09:18:15 +0200
committerGitHub <noreply@github.com>2023-10-21 09:18:15 +0200
commitb50b2e822f410c10e3e3ce9f20ba4547f2e0cbc4 (patch)
treec8c3c7f2b002f200dfa567acb0312d5b9f6ea365 /src/afl-fuzz-bitmap.c
parent51f62296126d9d29c955e4f127d04da4395a8e0d (diff)
parentbfb841d01383a4801a28b007c5f7039f2f28bef9 (diff)
downloadafl++-b50b2e822f410c10e3e3ce9f20ba4547f2e0cbc4.tar.gz
Merge pull request #1894 from choller/dev
Use proper AFL_NYX_AUX_SIZE for nyx_aux_string
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r--src/afl-fuzz-bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index 0429db34..d76158ce 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -866,7 +866,7 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
     if (unlikely(fd < 0)) { PFATAL("Unable to create '%s'", fn_log); }
 
     u32 nyx_aux_string_len = afl->fsrv.nyx_handlers->nyx_get_aux_string(
-        afl->fsrv.nyx_runner, afl->fsrv.nyx_aux_string, 0x1000);
+        afl->fsrv.nyx_runner, afl->fsrv.nyx_aux_string, afl->fsrv.nyx_aux_string_len);
 
     ck_write(fd, afl->fsrv.nyx_aux_string, nyx_aux_string_len, fn_log);
     close(fd);