diff options
author | William Tan <1284324+Ninja3047@users.noreply.github.com> | 2024-07-12 16:10:40 -0400 |
---|---|---|
committer | William Tan <1284324+Ninja3047@users.noreply.github.com> | 2024-07-12 16:22:17 -0400 |
commit | bd83eb0f424528bc156ef5bb0d025a8d20e85a6c (patch) | |
tree | aa6f0c11c8fe554cc3facb3c1a76ac9ec9822594 /src/afl-fuzz.c | |
parent | c5acf3f137733b341b7337d7da47a5545943b457 (diff) | |
download | afl++-bd83eb0f424528bc156ef5bb0d025a8d20e85a6c.tar.gz |
check the sync_id length once
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 8d85aec5..9867eba3 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1610,17 +1610,7 @@ int main(int argc, char **argv_orig, char **envp) { #endif - if (afl->sync_id) { - - if (strlen(afl->sync_id) > 50) { - - FATAL("sync_id max length is 50 characters"); - - } - - fix_up_sync(afl); - - } + if (afl->sync_id) { fix_up_sync(afl); } if (!strcmp(afl->in_dir, afl->out_dir)) { |