diff options
author | van Hauser <vh@thc.org> | 2019-12-30 22:01:36 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-12-30 22:01:36 +0100 |
commit | 878a80de7f5f4fb0733bd48c974b498c0010514e (patch) | |
tree | 97351114bfb4fd0d5a1fb8afdea5e08b5dd33afc /src/afl-fuzz.c | |
parent | f7e1397d989762eaf4375d2f79fde09d86e86f72 (diff) | |
download | afl++-878a80de7f5f4fb0733bd48c974b498c0010514e.tar.gz |
critical bugfix for afl-tmin
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index ebc11f01..5effe0f7 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -304,6 +304,7 @@ int main(int argc, char** argv) { if (out_file) FATAL("Multiple -f options not supported"); out_file = optarg; + use_stdin = 0; break; case 'x': /* dictionary */ @@ -836,6 +837,8 @@ int main(int argc, char** argv) { if (aa_loc && !out_file) { + use_stdin = 0; + if (file_extension) { out_file = alloc_printf("%s/.cur_input.%s", out_dir, file_extension); |