mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
critical bugfix for afl-tmin
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user