Your message dated Wed, 22 Jul 2020 03:22:16 +0200
with message-id <[email protected]>
and subject line Re: Bug#457174: FD_SETSIZE
has caused the Debian Bug report #457174,
regarding Fix fd value check in netcat
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
457174: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457174
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: Netcat
Version: 1.10-32

Fix fd value check in netcat.
--- ./netcat.c	2007-11-27 15:10:08.000000000 +0100
+++ ./netcat.c	2007-11-27 15:11:33.000000000 +0100
@@ -48,7 +48,7 @@
 #ifdef FD_SETSIZE		/* should be in types.h, butcha never know. */
 #undef FD_SETSIZE		/* if we ever need more than 16 active */
 #endif				/* fd's, something is horribly wrong! */
-#define FD_SETSIZE 16		/* <-- this'll give us a long anyways, wtf */
+#define FD_SETSIZE 1024		/* <-- this'll give us a long anyways, wtf */
 #include <sys/types.h>		/* *now* do it.  Sigh, this is broken */
 
 #ifdef HAVE_RANDOM		/* aficionados of ?rand48() should realize */
@@ -1217,7 +1217,7 @@
 /* if you don't have all this FD_* macro hair in sys/types.h, you'll have to
    either find it or do your own bit-bashing: *ding1 |= (1 << fd), etc... */
   if (fd > FD_SETSIZE) {
-    holler ("Preposterous fd value %d", fd);
+    holler ("fd value %d > FD_SETSIZE (%d)", fd, FD_SETSIZE);
     return (1);
   }
   FD_SET (fd, ding1);		/* global: the net is open */

--- End Message ---
--- Begin Message ---
As explained in previous mails in this bug, this is very likely not
useful - at least in netcat-traditional.

Chris

--- End Message ---

Reply via email to