bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] bug found in inetutils-1.5 telnet binary


From: Edward Attfield
Subject: Re: [bug-inetutils] bug found in inetutils-1.5 telnet binary
Date: Tue, 15 Apr 2008 10:34:56 -0400
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0

The netkit version has a similar fix, with slightly different code. Theirs is:

    maxfd = net;
    if (maxfd < tin) maxfd=tin;
    if (maxfd < tout) maxfd=tout;

    if ((c = select(maxfd+1, &ibits, &obits, &xbits,

I've also seen a version that hard-codes the maximum number of file descriptors for the select.


Debarshi Ray wrote:
 My favorite thought about this bug is that it is present in most of the
telnet flavours, and has been there for at least thirty years.
    

Atleast NetKit's telnet client
(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-0.17.tar.gz)
does not seem to have this particular problem.

Happy hacking,
Debarshi
  


reply via email to

[Prev in Thread] Current Thread [Next in Thread]