diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-14 19:38:06 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-14 19:38:06 +0100 |
commit | 76c5b8a3b420bfb74191cf4d3e44b067a268dc7f (patch) | |
tree | b6e0258c9269b620cbcc5331333ac0a40ebf409c /src/afl-fuzz.c | |
parent | 40e10895a2b7b69425ee03b2ec6e478184120ee2 (diff) | |
download | afl++-76c5b8a3b420bfb74191cf4d3e44b067a268dc7f.tar.gz |
fix error handling in fauxserver
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 39af1e18..c1ddd413 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -442,7 +442,7 @@ int main(int argc, char **argv_orig, char **envp) { if (optarg && *optarg == '-') { FATAL("argument for -M started with a dash '-', which is used for options"); } afl->sync_id = ck_strdup(optarg); - afl->skip_deterministic = 0; // force determinsitic fuzzing + afl->skip_deterministic = 0; // force deterministic fuzzing afl->old_seed_selection = 1; // force old queue walking seed selection if ((c = strchr(afl->sync_id, ':'))) { @@ -922,7 +922,7 @@ int main(int argc, char **argv_orig, char **envp) { afl->power_name = power_names[afl->schedule]; - if (!afl->sync_id) { + if (!afl->non_instrumented_mode && !afl->sync_id) { auto_sync = 1; afl->sync_id = ck_strdup("default"); |