🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26807

Re: NNTP followup/response method

#26807
From: Curt Welch
Date: Thu, 12 Mar 1998 00:00
31 lines
2144 bytes
mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote:
> In article <19980312133756.167$GQ@newsreader.com>, curt@kcwc.com wrote...
> >The problem is in READline() ...

> Can you be convinced to submit a patch?

Yes.

> This is not a buffer overrun
> error, or anything like that, and 999 is close enough to 1000 for
> me, but it would be nice to fix it, while the details are fresh
> in your mind and you can test it.  Please?

I'm looking at it but have to run now.  The same function is used
for reading NNTP commands and seems to have to same problem of
limiting the commands to 511 instead of 512 (counting the CR LF), so
fixing it should solve both problems.  I've written the code but
must do more testing to verify my work.

And the second problem just posted by Simon Lyall <simon@darkmere.gen.nz>
on the issue of rejecting lines > 1024 after unwrapping is an interesting
problem also.  I'll look more into that as well and report back.  Off the
top of my head I don't remember anything in the RFCs about max line length
after header lines are unfolded.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980312165708.643$rc@newsreader.com>
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: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net> <6e6r65$d13@darkmere.gen.nz> <6e74ml$e5r$1@nntp.epix.net> <19980312133756.167$GQ@newsreader.com> <6e9fbo$9bg$1@nntp.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <19980312165708.643$rc@newsreader.com>
Subject: Re: NNTP followup/response method
Date: Thu, 12 Mar 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net> <6e6r65$d13@darkmere.gen.nz> <6e74ml$e5r$1@nntp.epix.net> <19980312133756.167$GQ@newsreader.com> <6e9fbo$9bg$1@nntp.epix.net>
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: 333467319
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: KCW Consulting
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp