Article View: news.software.nntp
Article #11564Re: Linux libc 5.4.7 and INN 1.4unoff4
From: Wolfram Gloger
Date: Thu, 10 Oct 1996 00:00
Date: Thu, 10 Oct 1996 00:00
42 lines
2247 bytes
2247 bytes
zdjod@lif.de (Jan-Olaf Droese) wrote:
> I'm having problems with 1.4sec2 and libc-5.3.12 on three machines.
> Under certain circumstances, posting an article generates an error,
> but the article nevertheless gets posted.
>
> I received several reports from other users which had the same
> problem and were able to fix it by downgrading to libc-5.2.18.
>
> So I'd also be interested if the new libs do fix this problem.
Why do you expect libraries to fix a bug in inn ? It is fixed in the
latest `unoff' AFAIK; I append below the patch I sent to the `unoff'
maintainer.
Regards,
Wolfram.
nnrpd from inn1.4-unoff3 closes two of its FILE's twice when a posting
succeeds. This is a serious error which results in a crash on systems
allocating the FILE structure on the heap, and having a strict malloc()/
free() implementation, like libc 5.3.x on Linux.
Patch below. SendQuit() has already closed the FromServer and
ToServer descriptors. Thanks should go to Clive Messer
(clive@epos.demon.co.uk) for reporting the circumstances under
which this happens in great detail.
--- nnrpd/post.c.orig Mon Oct 16 17:02:30 1995
+++ nnrpd/post.c Thu Jan 18 13:07:38 1996
@@ -815,8 +815,6 @@
/* Send a quit and close down */
SendQuit(FromServer, ToServer);
- (void)fclose(FromServer);
- (void)fclose(ToServer);
if (idbuff)
(void)strcpy(idbuff, HDR(_messageid));
return NULL;
Technical Details
Message-ID:
<u4buebagpn.fsf@md.dent.med.uni-muenchen.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<531p6m$i5h@net161-61.student.yale.edu>Show Full Headers
Complete Article Headers
Message-ID: <u4buebagpn.fsf@md.dent.med.uni-muenchen.de> Subject: Re: Linux libc 5.4.7 and INN 1.4unoff4 Date: Thu, 10 Oct 1996 00:00:00 +0000 From: Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de> References: <531p6m$i5h@net161-61.student.yale.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 188377866 Distribution: inet Sender: wmglo@md.dent.med.uni-muenchen.de To: zdjod@lif.de (Jan-Olaf Droese) Organization: Poliklinik fuer Zahnerhaltung, Universitaet Muenchen Newsgroups: comp.os.linux.development.system,news.software.nntp