added AFL_IGNORE_UNKNOWN_ENVS

This commit is contained in:
vanhauser-thc
2021-02-13 22:43:56 +01:00
parent 6ce9230ed6
commit 9bd1e19d7f
8 changed files with 15 additions and 7 deletions

View File

@ -1168,8 +1168,9 @@ int main(int argc, char **argv_orig, char **envp) {
}
stdin_file = at_file ? strdup(at_file) : (char *)
alloc_printf("%s/.afl-showmap-temp-%u", use_dir, (u32)getpid());
stdin_file = at_file ? strdup(at_file)
: (char *)alloc_printf("%s/.afl-showmap-temp-%u",
use_dir, (u32)getpid());
unlink(stdin_file);
atexit(at_exit_handler);
fsrv->out_file = stdin_file;