Date: Mon, 23 Nov 1998 11:48:09 +0200 From: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/8818: [PATCH] ports/mail/exim libident bug causes SEGV Message-ID: <E0zhsbJ-0002SZ-00@axl.training.iafrica.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0zhsbJ-0002SZ-00>