Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ukma!rex!samsung!uunet!alsys1!naftoli From: naftoli@alsys1.aecom.yu.edu (Robert Berlinger) Newsgroups: comp.mail.mush Subject: Re: Bug in mush 7.2.2 Message-ID: <490@alsys1.aecom.yu.edu> Date: 7 May 91 22:05:30 GMT References: <489@alsys1.aecom.yu.edu> Organization: Albert Einstein College of Medicine, NY Lines: 22 A followup to my previous post... I perused the code in init.c a bit more and apparently realname is an automatic variable that is not initialized, and if you follow the logic through you'll find that it's possible to reach the if(realname && *realname) tests before the variable is set. This is sure to be bogus if realname doesn't happen to pick up a 0 (NULL) value off the stack (a likely possibility). I suggest that the code initialize realname to NULL by the declaration. This is in addition to the problem mentioned in my previous post. Enjoy. -- 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