about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-09-12 16:05:56 +0200
committervanhauser-thc <vh@thc.org>2023-09-12 16:05:56 +0200
commit3b835b7c8b2f73be6d5972951d049cef66c24abd (patch)
tree9f9b5d34b945d503b8b13ddde2a3b57f73fddb56
parent4f4ce24690c682af500ee235c57055d87dfb9c9d (diff)
downloadafl++-3b835b7c8b2f73be6d5972951d049cef66c24abd.tar.gz
increase sync length
-rw-r--r--docs/Changelog.md1
-rw-r--r--src/afl-fuzz.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md
index bccc6748..dfbadea3 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -9,6 +9,7 @@
       before terminating.
     - added AFL_IGNORE_SEED_PROBLEMS to skip over seeds that time out instead
       of exiting with an error message
+    - allow -S/-M naming up to 50 characters (from 24)
   - afl-whatsup:
     - detect instanced that are starting up and show them as such as not dead
     - now also shows coverage reached
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index a3d5e300..f659395e 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -1492,9 +1492,9 @@ int main(int argc, char **argv_orig, char **envp) {
 
   if (afl->sync_id) {
 
-    if (strlen(afl->sync_id) > 24) {
+    if (strlen(afl->sync_id) > 50) {
 
-      FATAL("sync_id max length is 24 characters");
+      FATAL("sync_id max length is 50 characters");
 
     }