🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #43155

Re: Overchan bad entry

#43155
From: J. Porter Clark
Date: Tue, 11 Jan 2000 00:00
69 lines
3058 bytes
tuuli.tuominen@helsinki.fi (Tuuli Tuominen) writes:

>Now this is almost humorous:

>overchan bad entry rec/arts/mst3k/misc:351111Re:
>overchan bad entry Is
>overchan bad entry this
>overchan bad entry a
>overchan bad entry bug
>overchan bad entry in
>overchan bad entry INN?

>says my errlog file. How, why, and what should I do about it? Overchan
>configuration hasn't changed in six months or so and the only change in the
>system occurred when I upgraded from 2.2 STABLE to 2.2.2 two weeks ago.
>I'm using tradspool and the overchan entry in newsfeeds looks like this:

Oh, that's from my test message; see below.  Why I didn't use
Distribution: local, I'll never know.

There is a bug in backends/overchan.c in INN-2.2.2 and probably
earlier; I am not sure if there's such a bug in 2.3.  I have included a
patch below.  You should probably apply it to keep this from happening
again.  I have sent it to the inn-bugs list as well.

The offending article is:

Path: news.msfc.nasa.gov!not-for-mail
From: news@msfc.nasa.gov (Unknown News Administrator)
Newsgroups: misc.test
Subject: Test Xref: zuma rec.arts.mst3k.misc:351111Re: Is this a bug in INN?
Date: 10 Jan 2000 21:25:37 GMT
Organization: http://www1.msfc.nasa.gov/
Lines: 1
Message-ID: <85dioh$qdq$1@hammer.msfc.nasa.gov>
NNTP-Posting-Host: hammer.msfc.nasa.gov
X-Trace: hammer.msfc.nasa.gov 947539537 27067 128.158.254.10 (10 Jan 2000 21:25:37 GMT)
X-Complaints-To: abuse@news.msfc.nasa.gov
NNTP-Posting-Date: 10 Jan 2000 21:25:37 GMT
X-My-Real-Name: J. Porter Clark
X-No-Archive: Yes
Xref: news.msfc.nasa.gov misc.test:339446

I'm just a-testin'.

*** overchan.c.orig	Mon Jan 10 15:36:04 2000
--- overchan.c	Mon Jan 10 15:56:24 2000
***************
*** 227,233 ****
  	    }
  	}  else {
  	    /* Find the groups and article numbers. */
! 	    if ((Xref = strstr(Data, "Xref:")) == NULL) {
  		fprintf(stderr, "overchan missing xref header\n");
  		continue;
  	    }
--- 227,233 ----
  	    }
  	}  else {
  	    /* Find the groups and article numbers. */
! 	    if ((Xref = strstr(Data, "\tXref:")) == NULL) {
  		fprintf(stderr, "overchan missing xref header\n");
  		continue;
  	    }
-- 
J. Porter Clark    porter.clark@msfc.nasa.gov
NASA/MSFC Computers and Data Systems Group

Technical Details
Message-ID: <85fk34$8ef$1@hammer.msfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <slrn87lvp1.834.tuuli.tuominen@yendor.it.helsinki.fi>

Show Full Headers
Complete Article Headers
Message-ID: <85fk34$8ef$1@hammer.msfc.nasa.gov>
Subject: Re: Overchan bad entry
Date: Tue, 11 Jan 2000 00:00:00 +0000
From: jpc@drum.msfc.nasa.gov (J. Porter Clark)
References: <slrn87lvp1.834.tuuli.tuominen@yendor.it.helsinki.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 571217038
X-Complaints-To: abuse@news.msfc.nasa.gov
X-Trace: hammer.msfc.nasa.gov 947606436 8655 128.158.173.26 (11 Jan 2000 16:00:36 GMT)
Organization: http://www.msfc.nasa.gov/
NNTP-Posting-Date: 11 Jan 2000 16:00:36 GMT
Newsgroups: news.software.nntp