about summary refs log tree commit diff
path: root/src/afl-fuzz-init.c
diff options
context:
space:
mode:
authorWilliam Tan <1284324+Ninja3047@users.noreply.github.com>2024-07-12 16:10:40 -0400
committerWilliam Tan <1284324+Ninja3047@users.noreply.github.com>2024-07-12 16:22:17 -0400
commitbd83eb0f424528bc156ef5bb0d025a8d20e85a6c (patch)
treeaa6f0c11c8fe554cc3facb3c1a76ac9ec9822594 /src/afl-fuzz-init.c
parentc5acf3f137733b341b7337d7da47a5545943b457 (diff)
downloadafl++-bd83eb0f424528bc156ef5bb0d025a8d20e85a6c.tar.gz
check the sync_id length once
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r--src/afl-fuzz-init.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index 98de26dd..4f366b0d 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -2717,7 +2717,11 @@ void fix_up_sync(afl_state_t *afl) {
 
   }
 
-  if (strlen(afl->sync_id) > 32) { FATAL("Fuzzer ID too long"); }
+  if (strlen(afl->sync_id) > 50) {
+
+    FATAL("sync_id max length is 50 characters");
+
+  }
 
   x = alloc_printf("%s/%s", afl->out_dir, afl->sync_id);