mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 20:08:07 +00:00
copy fsrv: copy out_file ptr
This commit is contained in:
@ -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->child_pid = -1;
|
||||||
fsrv_to->use_fauxsrv = 0;
|
fsrv_to->use_fauxsrv = 0;
|
||||||
fsrv_to->last_run_timed_out = 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;
|
fsrv_to->init_child_func = fsrv_exec_child;
|
||||||
// Note: do not copy ->add_extra_func
|
// Note: do not copy ->add_extra_func
|
||||||
|
Reference in New Issue
Block a user