changeset 1810:1b160ed94749

fuzz: don't push wrapfd descriptors larger than needed
author Matt Johnston <matt@ucc.asn.au>
date Mon, 08 Mar 2021 21:59:10 +0800
parents fd00aeff38fd
children 7dc92355a986 5015c80808c5
files fuzz/fuzz-wrapfd.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/fuzz/fuzz-wrapfd.c	Sun Mar 07 21:26:34 2021 +0800
+++ b/fuzz/fuzz-wrapfd.c	Mon Mar 08 21:59:10 2021 +0800
@@ -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;