🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #37020

Re: slrn: curious problem

#37020
From: Colin Rosenthal
Date: Mon, 10 Nov 1997 00:00
38 lines
1799 bytes
On 7 Nov 1997 17:59:46 GMT, 
John E. Davis <davis@space.mit.edu> wrote:
>Here is a bug-fix for a potentially serious bug.  It should fix the
>core dump that was reported.  The patch should be applied to the
>function `display_article_line' in art.c.  Do not use a patch program
>to apply the patch, just edit the file manually:
>
>--- art.c~	Fri Nov  7 01:39:28 1997
>+++ art.c	Fri Nov  7 12:52:13 1997
>@@ -7408,13 +7408,14 @@
>      {
> 	if ((unsigned char)*lbuf > (unsigned char)' ')
> 	  {
>-	     lbuf = slrn_strchr (l->buf, ':');
>+	     lbuf = slrn_strchr (lbuf, ':');
> 	     if (lbuf != NULL)
> 	       {
> 		  lbuf++;
> 		  slrn_set_color (SLRN_HEADER_KEYWORD_COLOR);
> 		  smg_write_nchars (l->buf, lbuf - l->buf);
> 	       }
>+	     else lbuf = l->buf;
> 	  }
> 	slrn_set_color (HEADER_COLOR);
> 	smg_write_string (lbuf);

Having thanked you privately for sorting this bug out I'll now take the
opportunity to thank you again publicly. Keep up the good work and
I hope one day I live to see slrn version 1.0.0.0 :-)

-- 
Colin Rosenthal
High Altitude Observatory
Boulder, Colorado
rosentha@hao.ucar.edu

Technical Details
Message-ID: <647iic$8qk$1@ncar.ucar.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <63qrtv$qj8$1@ncar.ucar.edu> <slrn666loi.7i8.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <647iic$8qk$1@ncar.ucar.edu>
Subject: Re: slrn: curious problem
Date: Mon, 10 Nov 1997 00:00:00 +0000
From: rosentha@asp.hao.ucar.edu (Colin Rosenthal)
References: <63qrtv$qj8$1@ncar.ucar.edu> <slrn666loi.7i8.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 288350453
Organization: High Altitude Observatory/NCAR, Boulder CO
Reply-To: rosentha@hao.SNIPME.ucar.edu
Newsgroups: news.software.readers