🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #15144

Re: Good Net-Keeping Seal (tin bug)

#15144
From: billy
Date: Thu, 09 Feb 1995 01:28
37 lines
2036 bytes
Greg Berigan <gberigan@cse.unl.edu> writes:

> Found a little annoying bug in tin 1.2 PL2.  If you followup a message
> with the following header:

> Message-ID: <OTTO.95Feb4134201@sol.acs.unt.edu>
> References: <3gjsbf$msn@rodan.uu.net> <3gkhu1$a6g@srvr1.engin.umich.edu>
>        <3glh58$696@portal.gmu.edu> <1995Feb2.151458.11305@Princeton.EDU>

There is also a bug in tin in the HEADER_TO code in post.c where lines
beginning with whitespace can be confused with other things.  This
concerns the order in which the test for whitespace is done (an and/or
situation where the 'and' and 'or' are backwards).  A fix is appended.

Billy Y..

 *  Project   : tin - a Usenet reader
 *  Module    : post.c
 *  Author    : I.Lea
 *  Created   : 01-04-91
 *  Updated   : 24-09-93

 *  14-Jan-95
 *  Fix bug in HEADER_TO processing that included any line starting
 *  with a tab or space, which was catching 'In-reply-to' messageid.

			case HEADER_TO:
				if (strncmp (buf, "To: ", 4) == 0 ||
				    strncmp (buf, "Cc: ", 4) == 0) {
					my_strncpy (buf2, &buf[4], sizeof (buf2));
					yank_to_addr (buf2, new_value);
					was_to = TRUE;
				} else if (was_to &&	/* BUG FIX */
					(*buf == ' ' || *buf == '\t')) {
					yank_to_addr (buf, new_value);
				} else {
					was_to = FALSE;
Technical Details
Message-ID: <3hbr35$hcg@news.primenet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!swrinde!howland.reston.ans.net!news.sprintlink.net!news.primenet.com!mix.com!zippy
References: <3gjsbf$msn@rodan.uu.net> <3gkhu1$a6g@srvr1.engin.umich.edu> <OTTO.95Feb4134201@sol.acs.unt.edu> <3h90vs$sgv@crcnis3.unl.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3hbr35$hcg@news.primenet.com>
Subject: Re: Good Net-Keeping Seal (tin bug)
Date: Thu, 09 Feb 1995 01:28:05 +0000
From: billy@mix.com
References: <3gjsbf$msn@rodan.uu.net> <3gkhu1$a6g@srvr1.engin.umich.edu> <OTTO.95Feb4134201@sol.acs.unt.edu> <3h90vs$sgv@crcnis3.unl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!swrinde!howland.reston.ans.net!news.sprintlink.net!news.primenet.com!mix.com!zippy
Newsgroups: news.software.readers
Organization: Billy's Place
Lines: 38
NNTP-Posting-Host: usr1.primenet.com