summaryrefslogtreecommitdiff
path: root/fuzz
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
commit72db3c75c3fdf1508b7c699c506a87a9f7955d57 (patch)
treeddc19108ef2ee41d09fe0e8f5f03cbe277c55ac1 /fuzz
parentf6af081ef7394a9998cce572407b4b0e4976b3b7 (diff)
downloaddropbear-72db3c75c3fdf1508b7c699c506a87a9f7955d57.tar.gz
fuzz: don't push wrapfd descriptors larger than needed
Diffstat (limited to 'fuzz')
-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;