Article View: comp.bugs.4bsd
Article #172bug in sendmail 5.64
From: Tom Kessler
Date: Wed, 11 Jul 1990 20:52
Date: Wed, 11 Jul 1990 20:52
35 lines
1814 bytes
1814 bytes
In sendmail 5.64 a new field name q_ruser was added to the address structure
(found in sendmail.h). The initialization of the variable NullAddress
(in main.c) was not updated to reflect this. This can cause some problems
when you go to look at the q_host field or expect the q_ruser field to be
NULL.
Here's the diff:
diff -c4 main.c main.c.ORIG | more
*** main.c Wed Jul 11 13:32:06 1990
--- main.c.ORIG Thu Jul 5 17:55:51 1990
***************
*** 77,85 ****
char *FullName; /* sender's full name */
ENVELOPE BlankEnvelope; /* a "blank" envelope */
ENVELOPE MainEnvelope; /* the envelope around the basic letter */
ADDRESS NullAddress = /* a null address */
! { "", "", NULL, "" };
/*
** Pointers for setproctitle.
** This allows "ps" listings to give more useful information.
--- 77,85 ----
char *FullName; /* sender's full name */
ENVELOPE BlankEnvelope; /* a "blank" envelope */
ENVELOPE MainEnvelope; /* the envelope around the basic letter */
ADDRESS NullAddress = /* a null address */
! { "", "", "" };
/*
** Pointers for setproctitle.
** This allows "ps" listings to give more useful information.
--Tom Kessler (kessler@Eng.sun.com)
Sun Microsystems Inc.
Technical Details
Message-ID:
<KESSLER.90Jul11135235@hacketorium.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!samsung!sol.ctr.columbia.edu!lll-winken!sun-barr!newstop!exodus!kesslerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!samsung!sol.ctr.columbia.edu!lll-winken!sun-barr!newstop!exodus!kessler From: kessler@hacketorium.Eng.Sun.COM (Tom Kessler) Newsgroups: comp.bugs.4bsd,comp.mail.sendmail Subject: bug in sendmail 5.64 Message-ID: <KESSLER.90Jul11135235@hacketorium.Eng.Sun.COM> Date: 11 Jul 90 20:52:35 GMT Sender: news@exodus.Eng.Sun.COM Distribution: comp Organization: Rocket Scientists Anonymous Lines: 35