Article View: comp.mail.mush
Article #766Bug in mush 7.2.2
From: Robert Berlinger
Date: Tue, 07 May 1991 21:49
Date: Tue, 07 May 1991 21:49
21 lines
1328 bytes
1328 bytes
I believe Mush 7.2.2 has a bug which causes outgoing From: headers to
not include the user's full name in the default case (i.e., relying on
the full name (gecos) field in the password file).
In init.c line 75,
if (realname && *realname) {
the *realname test is failing because earlier on line 55, a for loop
increments realname to point to the nul at the end of the string
for (p = buf; *realname; realname++)
Mush 7.1.1 did not have the second test and worked ok. I'm not sure
why the second test was added, but it either needs to be backed out or
the code changed to increment a temp variable rather than realname.
--
Robert N. Berlinger |Domain: naftoli@aecom.yu.edu
Manager of Networking and Systems |UUCP: ...uunet!alsys1!naftoli
Research Information Technology |CompuServe: 76067.1114@compuserve.com
Albert Einstein College of Medicine |AppleLink: D3913@applelink.apple.com
Technical Details
Message-ID:
<489@alsys1.aecom.yu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!alsys1!naftoliShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!alsys1!naftoli From: naftoli@alsys1.aecom.yu.edu (Robert Berlinger) Newsgroups: comp.mail.mush,comp.sources.bugs Subject: Bug in mush 7.2.2 Message-ID: <489@alsys1.aecom.yu.edu> Date: 7 May 91 21:49:49 GMT Followup-To: comp.mail.mush Organization: Albert Einstein College of Medicine, NY Lines: 21