🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #12863

Tin 1.22 + Solaris 2.3 bug

#12863
From: David Tiller
Date: Wed, 16 Nov 1994 20:29
21 lines
1828 bytes
I found a problem with tin-1.22 and Solaris 2.3.  To reproduce: 

1) create a file called ~/News/bugtest
2) tag an article and save the Thread as filename bugtest, but answer no
   to the 'append?' question.
3) You'll get a segmentation violation.

A little work with GDB reveals that get_first_savefile() and get_last_savefile()
return NULL pointers that are sent to sprintf, causing the seg. violation.
(This is in save.c, around line 452).  It shouldn't be printing a message about
having saved any files since it didn't. Changing return ((char *) 0) to
return ("") works since "" is a pointer to an explicit '\0', not a NULL pointer.   

As an enhancement, could you include overwite to the choices instead of just 
append?   Thanks in advance,

---
David Tiller                | Network Administrator | Voice: (804) 752-3710   |
dtiller@rmc.edu |  n2kau/4  | Randolph-Macon College| Fax:   (804) 752-7231   |
  Don't let your SKS get    | P.O. Box 5005         | ICBM:  37d 42' 43.75" N |
"Tainted with Defilement!"  | Ashland, Va 23005     |        77d 31' 32.19" W |
Technical Details
Message-ID: <3adq41$k5u@gnd0.rmc.edu>
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!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!news.mathworks.com!news.alpha.net!uwm.edu!caen!hearst.acc.Virginia.EDU!gnd0.rmc.edu!usenet

Show Full Headers
Complete Article Headers
Message-ID: <3adq41$k5u@gnd0.rmc.edu>
Subject: Tin 1.22 + Solaris 2.3 bug
Date: Wed, 16 Nov 1994 20:29:53 +0000
From: dtiller@rmc.edu (David Tiller)
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!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!news.mathworks.com!news.alpha.net!uwm.edu!caen!hearst.acc.Virginia.EDU!gnd0.rmc.edu!usenet
Newsgroups: news.software.readers
Organization: Randolph-Macon College
Lines: 23
Reply-To: dtiller@rmc.edu
NNTP-Posting-Host: gnd0.rmc.edu