fuzz: don't push wrapfd descriptors larger than needed

This commit is contained in:
Matt Johnston 2021-03-08 21:59:10 +08:00
parent 1eb369272b
commit 9262ffe861

View File

@ -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;