diff options
author | Matt Johnston <matt@ucc.asn.au> | 2021-03-08 21:59:10 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2021-03-08 21:59:10 +0800 |
commit | 9262ffe8617bd8d631edf30772650ff4d5d156c6 (patch) | |
tree | 80c04324bfa2bbee1f067ade610a2444e242cf4d | |
parent | 1eb369272bc8a23acc52bf11f81ff39b0d04f95b (diff) |
fuzz: don't push wrapfd descriptors larger than needed
-rw-r--r-- | fuzz/fuzz-wrapfd.c | 3 |
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; |