Bugtraq mailing list archives

Sendmail 8.6.11 identd support


From: Jeff.Smith () dcs warwick ac uk (Jeff Smith)
Date: Mon, 13 Mar 1995 21:19:10 +0000 (GMT)


I got sendmail 8.6.11 from ftp.cs.berkeley.edu -- but the identd code
in daemon.c needed patching to get more than a couple of characters of
identd response.

*** daemon.c.orig       Mon Mar 13 20:04:43 1995
--- daemon.c    Mon Mar 13 20:10:07 1995
***************
*** 1078,1084 ****
  
        /* get result */
        p = &ibuf[0];
!       nleft = sizeof(ibuf - 1);
        while ((i = read(s, p, nleft)) > 0)
        {
                p += i;
--- 1078,1084 ----
  
        /* get result */
        p = &ibuf[0];
!       nleft = sizeof(ibuf) - 1;
        while ((i = read(s, p, nleft)) > 0)
        {
                p += i;

--
Jeff Smith, Computer Science, Warwick University, Coventry, CV4 7AL, England
jeff () dcs warwick ac uk       phone: +44 203 523485   fax: +44 203 525714



Current thread: