Article View: news.software.readers
Article #3255Re: trn 2.4 gives % interp buffer overflow!
From: Adri Verhoef
Date: Thu, 04 Feb 1993 17:58
Date: Thu, 04 Feb 1993 17:58
30 lines
1845 bytes
1845 bytes
I wrote: >In article <1993Feb3.093650.5047@olivetti.nl>, > paulz@olivetti.nl (Paul van der Zwan) writes: >>When trn tries to save an article with a Path: line of about 340 chars >>it dies with the following error :% interp buffer overflow! >> >>This looks like there is some hard-coded buffer-size somewhere in intrp.c >>that is too small. Has anybody got a fix for this problem ?? > > >(I guess this applies to both rn and trn. I tested it: it works for rn.) > >A quick fix would be to set the environment variable MBOXSAVER: > > >Using csh: >setenv MBOXSAVER '%X/mbox.saver %A %P %c %a %B %C "%b" "From X %`date`"' > >Using sh: >export MBOXSAVER >MBOXSAVER='%X/mbox.saver %P/rrn%a.%$ %P %c %a %B %C "%b" "From X %`date -u`"' > >or something like that; the idea is that you don't use "From %T ..." anymore, >but "From X ..." instead. (%T uses the Path:-line, if you know what I mean.) I forgot to mention that the %A is used in a non-NNTP configuration: it stands for the full path name of the article, and %P/rrn%a.%$ is used for the NNTP configured (r)rn - in that case, %P means /tmp. Regards, Adri
Technical Details
Message-ID:
<C1xr8q.6wG@rivm.nl>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!sparky!uunet!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!rivm!solar.rivm.nl!a3References:
<1993Feb3.093650.5047@olivetti.nl> <C1w0Ko.JBz@rivm.nl>Show Full Headers
Complete Article Headers
Message-ID: <C1xr8q.6wG@rivm.nl> Subject: Re: trn 2.4 gives % interp buffer overflow! Date: Thu, 4 Feb 1993 17:58:02 GMT From: a3@rivm.nl (Adri Verhoef) References: <1993Feb3.093650.5047@olivetti.nl> <C1w0Ko.JBz@rivm.nl> 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!sparky!uunet!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!rivm!solar.rivm.nl!a3 Newsgroups: news.software.readers Sender: news@rivm.nl Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene,Bilthoven,NL Lines: 30