🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #9

Re: mush bug in 7.2.5

#9
From: Bart Schaefer
Date: Sat, 31 Oct 1992 03:57
48 lines
1982 bytes
On Oct 27,  9:35am, The Grey Wolf wrote:
} Subject: mush bug in 7.2.5
}
} When replying to mail, most of the time, the first 5 characters of the
} return address will be truncated, i.e. I respond to someone named "bernie"
} and the return address is <e>, I respond to "argv@z-code.com" and I will
} get a return address of <z-code.com>, and the like.

There are a couple of bugs in reply_to():

*** 7.2.5/hdrs.c	Sat Aug 22 11:46:49 1992
--- 7.2.6/hdrs.c	Tue Oct 27 08:20:55 1992
***************
*** 393,398 ****
--- 393,400 ----
  	(p = header_field(cnt, "to")) ||
  	(p = header_field(cnt, "apparently-to")))
  	Strncpy(to, p);
+     else
+ 	show_to = 0;
  
      /* who's the message from */
      if ((p = header_field(cnt, "from")) && strcpy(from, p)
***************
*** 672,679 ****
  	if (!unscramble_addr(p, line)) { /* p is safely recopied to line */
  	    p2 = addr;
  	    goto BrokenFrom;
! 	} else
  	    p2 = NULL;
  #else /* MSG_SEPARATOR */
  	wprint("Warning: unable to find who msg %d is from!\n", n+1);
  	p2 = addr;
--- 674,683 ----
  	if (!unscramble_addr(p, line)) { /* p is safely recopied to line */
  	    p2 = addr;
  	    goto BrokenFrom;
! 	} else {
  	    p2 = NULL;
+ 	    p = line;
+ 	}
  #else /* MSG_SEPARATOR */
  	wprint("Warning: unable to find who msg %d is from!\n", n+1);
  	p2 = addr;

-- 
Bart Schaefer                                     schaefer@zigzag.z-code.com
Z-Code Software Corp.                             schaefer@z-code.com
Technical Details
Message-ID: <9210301957.ZM10725@zigzag>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
References: <moon!ossi.com!greywolf>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.mush
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
From: bart@zigzag.UUCP (Bart Schaefer)
Subject: Re: mush bug in 7.2.5
Message-ID: <9210301957.ZM10725@zigzag>
Sender: root@athena.mit.edu (Wizard A. Root)
Reply-To: bart@zigzag.z-code.com
Organization: The Internet
References: <moon!ossi.com!greywolf>
Date: Sat, 31 Oct 1992 03:57:36 GMT
Lines: 48