🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #767

Re: Bug in mush 7.2.2

#767
From: Robert Berlinger
Date: Tue, 07 May 1991 22:05
22 lines
1271 bytes
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
Technical Details
Message-ID: <490@alsys1.aecom.yu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ukma!rex!samsung!uunet!alsys1!naftoli
References: <489@alsys1.aecom.yu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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