about summary refs log tree commit diff
path: root/src/afl-fuzz-extras.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-08 17:39:19 +0200
committerhexcoder- <heiko@hexco.de>2020-04-08 17:39:19 +0200
commit9b3e6112ff821be5a0e0ff475f39227f94c31aae (patch)
tree0a651a03c6ad4077cb3eb3463ceffff18872bb39 /src/afl-fuzz-extras.c
parent7663e7dd05ca7d3da6120c63bd8bacf3c2894817 (diff)
parent2e29e64a3f3ff8cc334d1d9e920e8dcfe74881b8 (diff)
downloadafl++-9b3e6112ff821be5a0e0ff475f39227f94c31aae.tar.gz
Merge branch 'dev' of https://github.com/vanhauser-thc/AFLplusplus into dev
Diffstat (limited to 'src/afl-fuzz-extras.c')
-rw-r--r--src/afl-fuzz-extras.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-extras.c b/src/afl-fuzz-extras.c
index 4dd1647c..16806934 100644
--- a/src/afl-fuzz-extras.c
+++ b/src/afl-fuzz-extras.c
@@ -451,7 +451,7 @@ void load_auto(afl_state_t *afl) {
     u8 *fn = alloc_printf("%s/.state/auto_extras/auto_%06u", afl->in_dir, i);
     s32 fd, len;
 
-    fd = open(fn, O_RDONLY, 0600);
+    fd = open(fn, O_RDONLY);
 
     if (fd < 0) {