diff options
author | van Hauser <vh@thc.org> | 2020-11-03 15:09:57 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-11-03 15:09:57 +0100 |
commit | 7ed0bfb6f51ff9c331c09315d72baad7b14259e5 (patch) | |
tree | aa89bd04d880a5075ea759c5c5aa5c449d0213e6 | |
parent | d795ec0451bfb6f93485c4ec6436ae1af3840070 (diff) | |
download | afl++-7ed0bfb6f51ff9c331c09315d72baad7b14259e5.tar.gz |
copy fsrv: copy out_file ptr
-rw-r--r-- | src/afl-forkserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-forkserver.c b/src/afl-forkserver.c index 714be24e..b717c1ad 100644 --- a/src/afl-forkserver.c +++ b/src/afl-forkserver.c @@ -114,7 +114,7 @@ void afl_fsrv_init_dup(afl_forkserver_t *fsrv_to, afl_forkserver_t *from) { fsrv_to->child_pid = -1; fsrv_to->use_fauxsrv = 0; fsrv_to->last_run_timed_out = 0; - fsrv_to->out_file = NULL; + fsrv_to->out_file = from->out_file; fsrv_to->init_child_func = fsrv_exec_child; // Note: do not copy ->add_extra_func |