diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-02 21:17:37 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-02 21:17:37 +0100 |
commit | 350c3b323a59c99891635a233c3f82f83653947c (patch) | |
tree | 3d32f866dcce0dbc907fe5d15fcbd3c4aa2e9562 /src | |
parent | d026a9a9c5e1b82a8c2e80df6f28d903e039affa (diff) | |
download | afl++-350c3b323a59c99891635a233c3f82f83653947c.tar.gz |
fix for #562
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-tmin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-tmin.c b/src/afl-tmin.c index efc12d4f..06037d61 100644 --- a/src/afl-tmin.c +++ b/src/afl-tmin.c @@ -656,6 +656,7 @@ static void set_up_environment(afl_forkserver_t *fsrv) { unlink(out_file); + fsrv->out_file = out_file; fsrv->out_fd = open(out_file, O_RDWR | O_CREAT | O_EXCL, 0600); if (fsrv->out_fd < 0) { PFATAL("Unable to create '%s'", out_file); } |