mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
allow -i - resume with AFL_TMPDIR
This commit is contained in:
@ -654,7 +654,7 @@ int main(int argc, char** argv, char** envp) {
|
|||||||
if (!strcmp(in_dir, out_dir))
|
if (!strcmp(in_dir, out_dir))
|
||||||
FATAL("Input and output directories can't be the same");
|
FATAL("Input and output directories can't be the same");
|
||||||
|
|
||||||
if ((tmp_dir = getenv("AFL_TMPDIR")) != NULL) {
|
if ((tmp_dir = getenv("AFL_TMPDIR")) != NULL && !in_place_resume) {
|
||||||
|
|
||||||
char tmpfile[file_extension
|
char tmpfile[file_extension
|
||||||
? strlen(tmp_dir) + 1 + 10 + 1 + strlen(file_extension) + 1
|
? strlen(tmp_dir) + 1 + 10 + 1 + strlen(file_extension) + 1
|
||||||
|
Reference in New Issue
Block a user