From owner-freebsd-ports Mon Nov 23 01:49:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22634 for freebsd-ports-outgoing; Mon, 23 Nov 1998 01:49:59 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22616 for ; Mon, 23 Nov 1998 01:49:57 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA29224; Mon, 23 Nov 1998 01:50:03 -0800 (PST) Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22477 for ; Mon, 23 Nov 1998 01:48:55 -0800 (PST) (envelope-from sheldonh@axl.training.iafrica.com) Received: from sheldonh by axl.training.iafrica.com with local (Exim 2.053 #1) id 0zhsbJ-0002SZ-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 23 Nov 1998 11:48:09 +0200 Message-Id: Date: Mon, 23 Nov 1998 11:48:09 +0200 From: axl@iafrica.com Reply-To: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/8818: [PATCH] ports/mail/exim libident bug causes SEGV Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8818 >Category: ports >Synopsis: [PATCH] ports/mail/exim libident bug causes SEGV >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 23 01:50:02 PST 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >Environment: All environments. >Description: Unexpected ident responses from connecting hosts cause SEGV in exim. >How-To-Repeat: See exim mailing list archives (http://www.exim.org/) for discussion (around 10 Nov 1998). >Fix: Apply the following patch to the port to create patch-ae: diff -urN exim.orig/patches/patch-ae exim/patches/patch-ae --- exim.orig/patches/patch-ae Mon Nov 23 11:33:59 1998 +++ exim/patches/patch-ae Mon Nov 23 11:32:05 1998 @@ -0,0 +1,19 @@ +*** src/libident/id_parse.c.orig Fri Sep 18 04:13:13 1998 +--- src/libident/id_parse.c Tue Nov 10 17:29:23 1998 +*************** +*** 198,204 **** + else + cp = id_strtok((char *)0, "\n\r", &c); + +! if (identifier) + { + *identifier = id_strdup(cp); + if (*identifier == NULL) +--- 198,204 ---- + else + cp = id_strtok((char *)0, "\n\r", &c); + +! if (identifier && cp) + { + *identifier = id_strdup(cp); + if (*identifier == NULL) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message