about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-08-19 16:51:42 +0200
committerGitHub <noreply@github.com>2024-08-19 16:51:42 +0200
commitf27cbdb79349d6f4f6e859a356758b634be72652 (patch)
tree8e1dbb1b8454c470aa5e0093f6d89c5cc86e9200 /src/afl-fuzz.c
parentdb23931e7c1727ddac8691a6241c97b2203ec6fc (diff)
parent1689a8e053c1f73e16331bfeda28c79e1ed4bbd0 (diff)
downloadafl++-f27cbdb79349d6f4f6e859a356758b634be72652.tar.gz
Merge pull request #2190 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 9867eba3..726a2260 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -3344,6 +3344,8 @@ stop_fuzzing:
 
   #else
     if ((fr_fd = open(fr, O_WRONLY | O_TRUNC | O_CREAT, DEFAULT_PERMISSION)) >=
+        0) {
+
   #endif
 
       u8   ver_string[8];