diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-06-03 11:41:30 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-06-03 11:41:30 +0200 |
commit | 2d8c3d29345b57fd7e4d2fcb335151d7ef8f08ca (patch) | |
tree | fb2b1b8ceeb4b987c6c61a981a0ab42ecc901ace /src/afl-fuzz-run.c | |
parent | f1192b2d16116fb6c8dc2673e37ec426b7792312 (diff) | |
parent | fc164e4709f1f1c91f9343eb116627417e7f267f (diff) | |
download | afl++-2d8c3d29345b57fd7e4d2fcb335151d7ef8f08ca.tar.gz |
fix conflicts
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index ec5ade53..5934690f 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -562,10 +562,11 @@ void sync_fuzzers(afl_state_t *afl) { closedir(sd); // If we are a secondary and no main was found to sync then become the main - if (unlikely(synced == 0) && likely(entries) && likely(afl->is_secondary_node)) { + if (unlikely(synced == 0) && likely(entries) && + likely(afl->is_secondary_node)) { - // there is a small race condition here that another secondary runs at the same - // time. If so, the first temporary main node running again will demote + // there is a small race condition here that another secondary runs at the + // same time. If so, the first temporary main node running again will demote // themselves so this is not an issue u8 path[PATH_MAX]; |