about summary refs log tree commit diff
path: root/utils/aflpp_driver/aflpp_driver.c
diff options
context:
space:
mode:
authorJosh Bundt (tr0gd0r) <wideglide@users.noreply.github.com>2021-03-20 04:34:40 -0400
committerGitHub <noreply@github.com>2021-03-20 09:34:40 +0100
commit33dd2ce02196598267764c5e36a3bf9812fd3320 (patch)
tree73218a7cbddc2919596b00f714187061847e8e86 /utils/aflpp_driver/aflpp_driver.c
parentbc0ff559f50ed73d1af904c4110bc149cd8eba91 (diff)
downloadafl++-33dd2ce02196598267764c5e36a3bf9812fd3320.tar.gz
close fds when executing one by one. (#835)
* closes fd when executing one by one.

* clean aflpp_driver
Diffstat (limited to 'utils/aflpp_driver/aflpp_driver.c')
-rw-r--r--utils/aflpp_driver/aflpp_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/aflpp_driver/aflpp_driver.c b/utils/aflpp_driver/aflpp_driver.c
index f0f3a47d..e828d0d8 100644
--- a/utils/aflpp_driver/aflpp_driver.c
+++ b/utils/aflpp_driver/aflpp_driver.c
@@ -186,6 +186,7 @@ static int ExecuteFilesOnyByOne(int argc, char **argv) {
       printf("Execution successful.\n");
 
     }
+    close(fd);
 
   }