[2650] in Athena Bugs
sendmail 5.61 patch
daemon@ATHENA.MIT.EDU (John T Kohl)
Wed Jul 26 22:46:01 1989
Date: Wed, 26 Jul 89 22:45:41 EDT
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
this may be applicable to us.
From: andrew@stl.stc.co.uk (Andrew Macpherson)
Newsgroups: comp.mail.sendmail,mail.uk-sendmail-workers
Date: 25 Jul 89 17:09:31 GMT
Organisation: STC Technology, London Road, HARLOW, Essex England, CM17 9NA
Phone: +44 279 29531 ext 2423
Telex: 81151 stl hw g
There is a known bug, if you are copying errors to postmaster:
andrew.findlay@ Fri Feb 10 11:47:00 1989
To: andrew@stl
Subject: Patch for Sendmail
5.61 has the same strcmp(NULL) bug that the previous version did.
Any bounced mail causes a seg violation on a Sun. Patch follows:
*** savemail.c.BAD Sat Feb 4 15:55:42 1989
--- savemail.c Fri Feb 10 10:49:40 1989
***************
*** 406,412 ****
to = buf;
for (q = returnq; q != NULL; q = q->q_next) {
if (q->q_alias == NULL)
! if (strcmp(q->q_paddr, PostMasterCopy) == 0)
cc = q->q_paddr;
else {
/* Not Postmaster; already on the To: line? */
--- 406,413 ----
to = buf;
for (q = returnq; q != NULL; q = q->q_next) {
if (q->q_alias == NULL)
! if ( (PostMasterCopy!=NULL) &&
! (strcmp(q->q_paddr, PostMasterCopy) == 0))
cc = q->q_paddr;
else {
/* Not Postmaster; already on the To: line? */
---------------------------------------------------------------------
| From Andrew Findlay at Brunel University, Uxbridge, UB8 3PH, UK |
| Andrew.Findlay@brunel.ac.uk phone: +44 895 74000 x2512 |
---------------------------------------------------------------------
--
Andrew Macpherson PSI%234237100122::andrew
andrew@stl.stc.co.uk - or - ...!mcvax!ukc!stl!andrew
"It is always a great mistake to treat the individual on the chance
that he may become a crowd" -- Mr Justice Codd: (A.P.Herbert)