Article View: news.software.nntp
Article #20296Re: INN 1.5.1sec2 - fix for an innd crash
From: Pug Bainter
Date: Fri, 08 Aug 1997 00:00
Date: Fri, 08 Aug 1997 00:00
45 lines
1885 bytes
1885 bytes
In article <5sdlb9$oq$1@lyra.csx.cam.ac.uk>,
USENET news <news@news.cam.ac.uk> wrote:
>At least, it seems to be the fix for a problem I've been seeing with
>INN 1.5.1sec2 on Solaris 2.5 (SPARC) and Sun's C compiler - "your mileage
>may vary".
On Linux 4.0, this appears to have fixed my problems as well, been
running several hours and rand though a daily expire with no problems.
Thank you for this fix!
Ciao,
>===== patch for innd/art.c in INN 1.5.1sec2 (retrofitted from 1.6b3)
>*** art.c.original Thu Aug 7 21:30:52 1997
>--- art.c Thu Aug 7 22:06:26 1997
>***************
>*** 1690,1697 ****
> *p++ = ' ';
> bp->Used++;
> }
>! strncpy(p, sp->Name, bp->Size - 1) ;
>! p[bp->Size - 1] = '\0';
> bp->Used += strlen(p);
> }
> }
>--- 1690,1697 ----
> *p++ = ' ';
> bp->Used++;
> }
>! strncpy(p, sp->Name, bp->Size - bp->Used - 1) ;
>! bp->Data[bp->Size - 1] = '\0';
> bp->Used += strlen(p);
> }
> }
>=====
--
Richard Bainter Mundanely | Network and System Administrator
Pug Generally | GlobeSet Austin, TX
pug@GlobeSet.com | pug@eden.com | {any user}@pug.net
Note: The views may not reflect my employers, or even my own for that matter.
Technical Details
Message-ID:
<5sfrb2$b33@vortex.globeset.com>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:
<5sdlb9$oq$1@lyra.csx.cam.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <5sfrb2$b33@vortex.globeset.com> Subject: Re: INN 1.5.1sec2 - fix for an innd crash Date: Fri, 08 Aug 1997 00:00:00 +0000 From: pug@pug.net (Pug Bainter) References: <5sdlb9$oq$1@lyra.csx.cam.ac.uk> 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: 262925273 Organization: Interval Systems, Inc. Newsgroups: news.software.nntp