Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1]) by pear.epix.net (8.8.7/8.8.5/970414Scott Paul) with ESMTP id OAA09660 for ; Wed, 11 Mar 1998 14:05:21 -0500 (EST) Received: from daemon@localhost by gw.home.vix.com id KAA20666 for inn-patches-outgoing; Wed, 11 Mar 1998 10:57:27 -0800 (PST) env-from (owner-inn-patches) Received: from poconos.net [206.96.121.1] by gw.home.vix.com via ESMTP id KAA20652 for ; Wed, 11 Mar 1998 10:57:25 -0800 (PST) env-from (mibsoft@mibsoftware.com) Received: from mibsoft1 (mibsoft.epix.net [199.224.77.137]) by poconos.net (8.8.6/ATARI-2600-SENDMAIL_V2.0.0.1) with SMTP id NAA17759; Wed, 11 Mar 1998 13:57:04 -0500 Message-Id: <199803111857.NAA17759@poconos.net> Comments: Authenticated sender is From: "Forrest J. Cavalier III" To: Chris van den Berg Date: Wed, 11 Mar 1998 13:56:30 -0500 MIME-Version: 1.0 Subject: Re: ctlinnd feedinfo "sitename" causes 1.7.2+insync-d to crash? Reply-to: mibsoft@mibsoftware.com CC: inn-workers@vix.com, inn-patches@isc.org Priority: normal X-mailer: Pegasus Mail for Windows (v2.42a) Sender: owner-inn-patches@vix.com Precedence: bulk Content-Type: Multipart/Mixed; boundary=Message-Boundary-12028 X-UIDL: 6a3ef7c9552208fb84eab8313110f36d X-PMFLAGS: 570949760 0 --Message-Boundary-12028 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body > From: Chris van den Berg > To: inn-bugs@isc.org > Subject: ctlinnd feedinfo "sitename" causes 1.7.2+insync-d to crash? > Dunno if anyone's reported on this before... Here's a backtrace from a > core file. innd crashed with signal 11, seg fault after issuing ctlinnd > Hmmm. Apparently that defect has been there a while.. ...It only gets triggered when a channel is sleeping and you run ctlinnd feedinfo..... Thanks for reporting it and providing the backtrace! Here's the patch. For 1.5.1 (but anything after that needs to be fixed also.) Forrest --Message-Boundary-12028 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Text from file 'msg' --- innd/site.c Tue Dec 17 05:40:40 1996 +++ innd/site.c Wed Mar 11 13:55:28 1998 @@ -1217,7 +1217,7 @@ ctime(&cp->LastActive) + 4); p += strlen(p); if (cp->Waketime > Now.time) { - (void)sprintf("\tSleeping until %.12s\n", + (void)sprintf(p, "\tSleeping until %.12s\n", ctime(&cp->Waketime) + 4); p += strlen(p); } --Message-Boundary-12028-- -- End --