Article View: news.software.nntp
Article #18146Re: INN-1.5.1 dying
From: Gary Palmer
Date: Mon, 02 Jun 1997 00:00
Date: Mon, 02 Jun 1997 00:00
31 lines
1599 bytes
1599 bytes
In article <5mtdlr$ndu$1@hammer.msfc.nasa.gov>,
J. Porter Clark <jpc@technologist.com> wrote:
>I've had innd core dumps with Clayton O'Neill's patch to do history
>caching--or at least I think that's what it does. I haven't had time
>to investigate it, though; I just backed it out and all was well. This
>was on Solaris 2.5.1.
I tested the patch on my box (FreeBSD 2.2.x) and innd crapped out every
couple of hours. I tracked it down to an unitialized variable used during
the processing of cancel messages.
My fix is enclosed (I hope). Clayton also has this patch now as his
box crapped out after a while too :-)
Gary
--- cc.c~ Thu Mar 18 16:04:22 1993
+++ cc.c Mon Apr 14 01:29:57 1997
@@ -360,7 +360,9 @@
ARTDATA Data;
STRING p;
+ memset(&Data, 0, sizeof(Data));
Data.Posted = Now.time;
+ Data.Arrived = Now.time;
Data.Expires = 0;
Data.Feedsite = "?";
if ((p = CCgetid(av[0], &Data.MessageID)) != NULL)
Technical Details
Message-ID:
<5mtnuo$ehr@news.webspan.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5mt7et$s52$1@turing.mathworks.com> <5mtdlr$ndu$1@hammer.msfc.nasa.gov>Show Full Headers
Complete Article Headers
Message-ID: <5mtnuo$ehr@news.webspan.net> Subject: Re: INN-1.5.1 dying Date: Mon, 02 Jun 1997 00:00:00 +0000 From: Gary Palmer <gpalmer@SPAM.webspan.net> References: <5mt7et$s52$1@turing.mathworks.com> <5mtdlr$ndu$1@hammer.msfc.nasa.gov> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 245562134 Organization: WebSpan Inc., New Jersey Newsgroups: news.software.nntp X-Report-Abuse-To: abuse@mail.webspan.net