critical bugfix for afl-tmin

This commit is contained in:
van Hauser
2019-12-30 22:01:36 +01:00
parent f7e1397d98
commit 878a80de7f
11 changed files with 29 additions and 8 deletions

View File

@ -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);