directly add new queue to cache

This commit is contained in:
van Hauser
2020-10-16 09:35:35 +02:00
parent b82e9ad3db
commit d5c3b4bafd
4 changed files with 53 additions and 2 deletions

View File

@ -1017,7 +1017,7 @@ int main(int argc, char **argv_orig, char **envp) {
alloc_printf("%s/.afl-showmap-temp-%u", use_dir, (u32)getpid());
unlink(stdin_file);
atexit(at_exit_handler);
afl->fsrv.out_file = stdin_file;
fsrv->out_file = stdin_file;
fsrv->out_fd = open(stdin_file, O_RDWR | O_CREAT | O_EXCL, 0600);
if (fsrv->out_fd < 0) { PFATAL("Unable to create '%s'", out_file); }