mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 10:38:07 +00:00
check the sync_id length once
This commit is contained in:
@ -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)) {
|
||||
|
||||
|
Reference in New Issue
Block a user