[1244] in bugtraq
Sendmail 8.6.11 identd support
daemon@ATHENA.MIT.EDU (Jeff Smith)
Mon Mar 13 18:11:07 1995
From: Jeff Smith <Jeff.Smith@dcs.warwick.ac.uk>
To: sendmail@cs.berkeley.edu
Date: Mon, 13 Mar 1995 21:19:10 +0000 (GMT)
Cc: bugtraq@fc.net, cudcv@dcs.warwick.ac.uk (Rob McMahon)
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