🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69383

Re: Possible bugs in rnews (inn 2.4.1)

#69383
From: Russ Allbery
Date: Fri, 02 Jul 2004 19:57
29 lines
2525 bytes
Eric Veldhuyzen <eric@terra.nu> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> NUL in particular is illegal; control characters in general are not.

> Ah, I wasn't able to find anything conclusive on this.

It will be made explicit in the upcoming NNTP standard.

>> I think rnews was fixed in STABLE to not stop at a NUL and just let the
>> server reject it instead, though, so that it doesn't break the whole
>> batch.

> Well, that's not what my logs tell me, but I have to admit that the
> version I use isn't the STABLE version. I am using the Debian packaged
> version which is a CVS snapshot version of 2004-04-03.

As I recall, I fixed this relatively recently (at least, after that date),
but I'm not positive that it was rnews that I fixed this in.  Originally,
none of INN could handle nul characters; innd was updated a while back so
that it should now reject them cleanly (but probably can't handle them if
the rejection is turned off), but many of the supporting utility programs
still use strlen and therefore do the wrong thing.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87d63etc5o.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <cbrmdl$8mm$1@whisky.terra.koffie.dot> <87659as24u.fsf@windlord.stanford.edu> <cc3nhk$kn9$1@whisky.terra.koffie.dot>

Show Full Headers
Complete Article Headers
Message-ID: <87d63etc5o.fsf@windlord.stanford.edu>
Subject: Re: Possible bugs in rnews (inn 2.4.1)
Date: Fri, 02 Jul 2004 12:57:39 -0700
From: Russ Allbery <rra@stanford.edu>
References: <cbrmdl$8mm$1@whisky.terra.koffie.dot> <87659as24u.fsf@windlord.stanford.edu> <cc3nhk$kn9$1@whisky.terra.koffie.dot>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 29
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1088798259 7217 171.64.19.147 (2 Jul 2004 19:57:39
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through
 Obscurity, linux)
Cancel-Lock: sha1:CjwmKu+NtQZ/eKp8dP2eARn/io8=