Thread View: news.software.readers
6 messages
6 total messages
Started by Paul van der Zwan
Wed, 03 Feb 1993 09:36
trn 2.4 gives % interp buffer overflow!
Author: Paul van der Zwan
Date: Wed, 03 Feb 1993 09:36
Date: Wed, 03 Feb 1993 09:36
10 lines
1168 bytes
1168 bytes
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 ?? The v command in trn gives the following output: @(#)$Id: rn.c,v 4.4.3.1 1991/11/22 04:12:14 davison Trn $ Trn-2.4 based on rn-4.4PL4 Send bugs to davison@borland.com
Re: trn 2.4 gives % interp buffer overflow!
Author: 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
Re: trn 2.4 gives % interp buffer overflow!
Author: Ellsworth Warmouth(813)530-2882
Date: Wed, 10 Feb 1993 06:25
Date: Wed, 10 Feb 1993 06:25
88 lines
4816 bytes
4816 bytes
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 ?? > >The v command in trn gives the following output: >@(#)$Id: rn.c,v 4.4.3.1 1991/11/22 04:12:14 davison Trn $ >Trn-2.4 based on rn-4.4PL4 >Send bugs to davison@borland.com Well I sent a similar article at the beginning of December to this newsgroup about this same problem with trn 2.2. I got a couple of replys through E-mail but was not able to reply to them due to bounced mail. I got no response from Wayne Davidson. Here is what I wrote: > Newsgroups: news.software.readers > Subject: Some Problems with TRN > Summary: > Expires: > Sender: > Followup-To: > Distribution: world > Organization: AT&T Paradyne, Largo, Florida > Keywords: > > I have recently found a problem with TRN and I have had another problem for a while. I am > running on a Sun Sparc II SunOS 4.1.2. > > The new problem is with saving articles under threading if the path line is too long. The > error I got was: > > % interp buffer overflow! > > and the path line of the article was: > > Path: pdn!myrddin!sybus.sybus.com!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!zaphod.mps. > + ohio-state.edu!ub!galileo.cc.rochester.edu!rochester!cantaloupe.srv.cs.cmu.edu!drycas.club. > + cc.cmu.edu!news.sei.cmu.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu! > + psuvax1!wupost!usc!enterpoop.mit.edu!world!stanford.edu!bcm!cs.utexas.edu! > + zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!olivea!uunet!psinntp! > + cmcl2!sbcs.sunysb.edu!insti!engws8.ic.sunysb.edu!decwrl!pa.dec.com!pasteur.fr!dletter > > other articles with shorter path lines are able to be saved. There is a work around and that > is to go into rn and save the article. I realize that this is a bogus path name with impossible path loops, so it is probably someone trying to post anonymously, but this is a real header path line from a real article received in my news spool. > The second problem is that some of the newsgroups in my .newsrc get corrupted every once in > a while usually when I read a lot of different newsgroups. The name of the newsgroup gets > changed to a bunch of control characters including ^D and ^C characters. Sometimes the > newsgroup gets changed to a truncated version of a newsgroup that has not been added to the > active file yet (only shows up in junk). It can happen to a bunch of newsgroups seemingly > all at once. > > The version of TRN we have installed here is: > > @(#)$Id: rn.c,v 4.4.3.1 1991/11/22 04:12:14 davison Trn $ > Trn 2.2 based on rn 4.4 pl 2 > > Some of these problems may have been fixed by more recent versions of TRN, but I have not > seen any patches for TRN in a while. > > -- > Ellsworth > One other problem I have noticed with version 2.3 is a bug in the way new groups are added using the "Y" option when asked to add the first of a series of new groups. Before (trn 2.2) you were able to add as many groups as you wanted just by replying Y to the first group to be added. All other groups were added automatically when they were selected. Now that functionaltiy doesn't seem to work ( you are continually asked for each group to be added instead of one time with the Y option). There were other small but noticeable changes to the user interface that I don't think were discussed in the change log, but I have adjusted to those. Trn is still the best newsreader that I have found (I have tried nn and rn) and I want it to be improved as much as possible. -- Ellsworth 78: No such file or directory -- Ellsworth Warmouth | 813-530-2882 | internet | Amateur Call | AT&T Paradyne Co. | Largo, FL. | efwjr@pdn.paradyne.com | KB4SH | Opinions expressed are mine alone and not necessarily those of AT&T Paradyne.
Re: trn 2.4 gives % interp buffer overflow!
Author: Wayne Davison
Date: Wed, 10 Feb 1993 19:11
Date: Wed, 10 Feb 1993 19:11
50 lines
2663 bytes
2663 bytes
Ellsworth Warmouth (efwjr@paradyne.com) wrote: > Well I sent a similar article at the beginning of December to this > newsgroup about this same problem with trn 2.2. [...] > I got no response from Wayne Davidson. I don't always see postings about trn problems -- I try, but it is much better to mail me a problem report as the version command prompts you to: Send bugs to davison@borland.com [Note that my name is NOT Davidson. Also, please try to limit your line length to ~75 characters -- I had to wrap all the cited text from your article.] > The new problem is with saving articles under threading if the path line > is too long. The error I got was: > % interp buffer overflow! I've fixed this problem in trn 2.5, which I've just released. > The second problem is that some of the newsgroups in my .newsrc get > corrupted every once in a while usually when I read a lot of different > newsgroups. This is probably the problem with 6-digit article numbers overflowing the internal .newsrc buffers -- fixed in trn 2.5. > One other problem I have noticed with version 2.3 is a bug in the way new > groups are added using the "Y" option when asked to add the first of a > series of new groups. I haven't noticed a problem with this -- is the bug still in 2.5? > There were other small but noticeable changes to the user interface that > I don't think were discussed in the change log, but I have adjusted to > those. Feel free to drop me some mail about them. Also, read the HINTS file for hints on how to add macros to change some things in 2.x to be like they were in 1.x. See also the NEW file in 2.5, which attempts to be a more complete list of changes than it was. > Trn is still the best newsreader that I have found (I have tried nn and > rn) and I want it to be improved as much as possible. Thanks! Let me know if you have any suggestions. Trn 3.0 is going to have some pretty nice improvements (IMHO), but there's always room for more. .wayne..
Re: trn 2.4 gives % interp buffer overflow!
Author: Ellsworth Warmouth(813)530-2882
Date: Wed, 17 Feb 1993 07:16
Date: Wed, 17 Feb 1993 07:16
105 lines
4937 bytes
4937 bytes
In article <C28yME.3rK@borland.com> davison@borland.com (Wayne Davison) writes: >Ellsworth Warmouth (efwjr@paradyne.com) wrote: >> Well I sent a similar article at the beginning of December to this >> newsgroup about this same problem with trn 2.2. [...] >> I got no response from Wayne Davidson. > >I don't always see postings about trn problems -- I try, but it is >much better to mail me a problem report as the version command prompts >you to: > Send bugs to davison@borland.com > >[Note that my name is NOT Davidson. Also, please try to limit your line >length to ~75 characters -- I had to wrap all the cited text from your >article.] > Mea culpa, mea maxima culpa. I am really sorry about mangling your name and the other problems have been noted and fixed. >> The new problem is with saving articles under threading if the path line >> is too long. The error I got was: >> % interp buffer overflow! > >I've fixed this problem in trn 2.5, which I've just released. > I haven't found an article with a long header yet, but I will try it once I do. >> The second problem is that some of the newsgroups in my .newsrc get >> corrupted every once in a while usually when I read a lot of different >> newsgroups. > >This is probably the problem with 6-digit article numbers overflowing the >internal .newsrc buffers -- fixed in trn 2.5. > Still have the problem here. Although it seems to be a little better, my .newsrc has been corrupted twice in the past 3 days. (That was when I compiled version 2.5). >> One other problem I have noticed with version 2.3 is a bug in the way new >> groups are added using the "Y" option when asked to add the first of a >> series of new groups. > >I haven't noticed a problem with this -- is the bug still in 2.5? > Yep, still there in trn 2.5. Here is what happened when I attempted to recover from the latest .newsrc corruption: ******** End of newsgroups--what next? [npq] g fl Newsgroup fl not in .newsrc--subscribe? [ynYN] (I'll add all new newsgroups (subscribed) to the end of your .newsrc.) (Adding fl to end of your .newsrc subscribed) ******** 0 unread articles in fl--read now? [ynq] g fl.sources Newsgroup fl.sources not in .newsrc--subscribe? [ynYN] (I'll add all new newsgroups (subscribed) to the end of your .newsrc.) (Adding fl.sources to end of your .newsrc subscribed) ******** 2 unread articles in fl.sources--read now? [+ynq] g fl.travel Newsgroup fl.travel not in .newsrc--subscribe? [ynYN] (I'll add all new newsgroups (subscribed) to the end of your .newsrc.) (Adding fl.travel to end of your .newsrc subscribed) ******** 0 unread articles in fl.travel--read now? [ynq] g fl.yumyum Newsgroup fl.yumyum not in .newsrc--subscribe? [ynYN] (I'll add all new newsgroups (subscribed) to the end of your .newsrc.) (Adding fl.yumyum to end of your .newsrc subscribed) ******** 0 unread articles in fl.yumyum--read now? [ynq] Before 2.3 all the groups after the first one would have been added automatically instead of asking where to place the group. (As the comment still implies that it will.) >> There were other small but noticeable changes to the user interface that >> I don't think were discussed in the change log, but I have adjusted to >> those. > >Feel free to drop me some mail about them. Also, read the HINTS file for >hints on how to add macros to change some things in 2.x to be like they >were in 1.x. See also the NEW file in 2.5, which attempts to be a more >complete list of changes than it was. > I'll do that. >> Trn is still the best newsreader that I have found (I have tried nn and >> rn) and I want it to be improved as much as possible. > >Thanks! Let me know if you have any suggestions. Trn 3.0 is going to >have some pretty nice improvements (IMHO), but there's always room for >more. > >..wayne.. -- Ellsworth -- Ellsworth Warmouth | 813-530-2882 | internet | Amateur Call | AT&T Paradyne Co. | Largo, FL. | efwjr@pdn.paradyne.com | KB4SH | Opinions expressed are mine alone and not necessarily those of AT&T Paradyne.
Re: trn 2.4 gives % interp buffer overflow!
Author: Wayne Davison
Date: Wed, 17 Feb 1993 23:35
Date: Wed, 17 Feb 1993 23:35
29 lines
2196 bytes
2196 bytes
efwjr@paradyne.com (Ellsworth Warmouth(813)530-2882) wrote: > ******** End of newsgroups--what next? [npq] g fl > Newsgroup fl not in .newsrc--subscribe? [ynYN] Y > (I'll add all new newsgroups (subscribed) to the end of your .newsrc.) > (Adding fl to end of your .newsrc subscribed) > > ******** 0 unread articles in fl--read now? [ynq] g fl.sources > Newsgroup fl.sources not in .newsrc--subscribe? [ynYN] Y > (I'll add all new newsgroups (subscribed) to the end of your .newsrc.) > (Adding fl.sources to end of your .newsrc subscribed) This is working correctly. Note that it says "all NEW newsgroups", not all groups that you add via commands. Previously there was a bug that would cause trn to continue using whatever 'N' or 'Y' command you had used in a previous add-group prompting for all following add-group prompts. Thus, if you pressed 'N' when starting up trn to ignore the latest batch of new groups you would be unable to add a group with 'g' since it would never let you subscribe to the group. I'm afraid you've got to always answer the "subscribe?" prompt manually. A better recovery technique for losing a .newsrc would be to have a list of newsgroups saved in another file and edit the .newsrc file from an editor. Also, I'd suggest compiling trn without the -O option, as having it trash a .newsrc shouldn't be a common occurance. If you're still having problems, mail me and we'll try to work out what's going wrong. .wayne..
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads