From 9262ffe8617bd8d631edf30772650ff4d5d156c6 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 8 Mar 2021 21:59:10 +0800 Subject: fuzz: don't push wrapfd descriptors larger than needed --- fuzz/fuzz-wrapfd.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3