summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-03-08 21:59:10 +0800
committerMatt Johnston <matt@ucc.asn.au>2021-03-08 21:59:10 +0800
commit9262ffe8617bd8d631edf30772650ff4d5d156c6 (patch)
tree80c04324bfa2bbee1f067ade610a2444e242cf4d
parent1eb369272bc8a23acc52bf11f81ff39b0d04f95b (diff)
fuzz: don't push wrapfd descriptors larger than needed
-rw-r--r--fuzz/fuzz-wrapfd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fuzz/fuzz-wrapfd.c b/fuzz/fuzz-wrapfd.c
index 784e79a..d411f99 100644
--- a/fuzz/fuzz-wrapfd.c
+++ b/fuzz/fuzz-wrapfd.c
@@ -6,8 +6,7 @@
#include "fuzz.h"
-// +100 might catch some limits...
-#define IOWRAP_MAXFD (FD_SETSIZE-1 + 100)
+#define IOWRAP_MAXFD (FD_SETSIZE-1)
static const int MAX_RANDOM_IN = 50000;
static const double CHANCE_CLOSE = 1.0 / 600;
static const double CHANCE_INTR = 1.0 / 900;