Article View: news.software.nntp
Article #20379Re: Fix for core dumps in INN-1.6b3 (innd/art.c) - also 1.5.1sec2
From: USENET news
Date: Mon, 11 Aug 1997 00:00
Date: Mon, 11 Aug 1997 00:00
33 lines
2259 bytes
2259 bytes
In article <5slt04$c65$1@hammer.msfc.nasa.gov>,
J. Porter Clark <jpc@drum.msfc.nasa.gov> wrote:
>As Forrest Cavalier has noted here and elsewhere, there is a bug in INN
>1.6b3's innd/art.c that may cause innd to dump core as the indirect
>result of receiving a control message without a Control header. The
>fix is below. Basically, it reverts to the 1.5.1 code, which turns out
>to have been correct and safe after all.
I got hit by the same problem, but with 1.5.1sec2, overnight
Saturday/Sunday.
It's worth noting for people using 1.5.1sec2 that the first part of the
patch (the second is an unrelated change) is equally relevant to 1.5.1sec2
since it has the same, incorrect, change. The line numbers from the 1.6b3
patch will be high by around 64 lines compared to the 1.5.1sec2 art.c - look
around line 1025 if patch has problems. As a result of the earlier
discussion by you and Forrest Cavalier, as soon as I saw the call trace from
the core file I recognised the problem and was able to fix it immediately -
thank you for saving a lot of time!
[For anyone who hasn't seen any problems and thinks "I don't need that
patch", it's triggered by a sequence of control messages with the lengths of
the Control: header varying in particular ways. So it may not happen often -
I'd had servers running 1.5.1sec2 for more than a week without seeing it -
but it almost certainly will happen, sooner or later.]
John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
Technical Details
Message-ID:
<5smt14$51i$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-mailReferences:
<5slt04$c65$1@hammer.msfc.nasa.gov>Show Full Headers
Complete Article Headers
Message-ID: <5smt14$51i$1@lyra.csx.cam.ac.uk> Subject: Re: Fix for core dumps in INN-1.6b3 (innd/art.c) - also 1.5.1sec2 Date: Mon, 11 Aug 1997 00:00:00 +0000 From: news@news.cam.ac.uk (USENET news) References: <5slt04$c65$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: 263522406 Organization: Computing Service, Cambridge University, England Newsgroups: news.software.nntp