Article View: news.software.readers
Article #55728Re: 'w' causes segmentation fault in slrn
From: John E. Davis
Date: Wed, 22 Dec 1999 00:00
Date: Wed, 22 Dec 1999 00:00
27 lines
1649 bytes
1649 bytes
On 22 Dec 1999 11:43:45 GMT, Chris Green <cgreen@shell.x-1.net>
wrote:
>If I hit 'w' when showing a newsgroup article list in slrn (0.9.6.0)
>it crashes with a segmentation fault. I hit 'w' by mistake for 'P'
Yep. A patch to art.c:toggle_wrap is attached below. I will probably
release 0.9.6.1 tomorrow before I leave for the holidays.
--- art.c~ Mon Dec 20 03:29:24 1999
+++ art.c Wed Dec 22 12:07:29 1999
@@ -608,6 +608,9 @@
{
Slrn_Article_Type *a = Slrn_Current_Article;
+ if (a == NULL)
+ return;
+
if (a->is_wrapped)
unwrap_article ();
else
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis Cambridge, MA 02139-4307
Technical Details
Message-ID:
<slrn8621j0.cdc.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-mailReferences:
<slrn861e73.343.cgreen@shell.x-1.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn8621j0.cdc.davis@aluche.mit.edu> Subject: Re: 'w' causes segmentation fault in slrn Date: Wed, 22 Dec 1999 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn861e73.343.cgreen@shell.x-1.net> 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: 563858709 X-Complaints-To: usenet@micro-heart-of-gold.mit.edu X-Trace: micro-heart-of-gold.mit.edu 945882721 66949 18.75.2.45 (22 Dec 1999 17:12:01 GMT) Organization: Center for Space Research User-Agent: slrn/0.9.6.0 (Linux) Reply-To: davis@space.mit.edu NNTP-Posting-Date: 22 Dec 1999 17:12:01 GMT Newsgroups: news.software.readers