Date: Thu, 4 Aug 2005 13:43:36 -0300 (BRT) From: Marcus Grando <marcus@corp.grupos.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/84552: Update port: mail/libspf fix double free Message-ID: <200508041643.j74GhaEu006416@noc.grupos.com.br> Resent-Message-ID: <200508041650.j74GoIUc009088@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84552 >Category: ports >Synopsis: Update port: mail/libspf fix double free >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Aug 04 16:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Grando >Release: FreeBSD 6.0-BETA2 i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD noc.grupos.com.br 6.0-BETA2 FreeBSD 6.0-BETA2 #3: Thu Aug 4 09:36:30 BRT 2005 root@noc.grupos.com.br:/usr/obj/usr/src/sys/NOC i386 >Description: - Fix double free Add files: files/patch-ac Received patch from "Ricky Chan <ricky@ricky-chan.co.uk>" He's say: I have informed the author of this bug. Double free causes abort in Freebsd 5.x (this does not happen in Freebsd 4.x). >How-To-Repeat: >Fix: --- libspf.patch begins here --- diff -ruN libspf.orig/Makefile libspf/Makefile --- libspf.orig/Makefile Tue Jul 12 09:38:37 2005 +++ libspf/Makefile Thu Aug 4 13:39:06 2005 @@ -7,6 +7,7 @@ PORTNAME= libspf DISTVERSION= 1.0.0-p3 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.libspf.org/files/src/ diff -ruN libspf.orig/files/patch-ac libspf/files/patch-ac --- libspf.orig/files/patch-ac Wed Dec 31 21:00:00 1969 +++ libspf/files/patch-ac Thu Aug 4 13:37:26 2005 @@ -0,0 +1,11 @@ +--- src/libspf/main.c.orig Thu Jul 28 17:23:42 2005 ++++ src/libspf/main.c Thu Jul 28 17:24:11 2005 +@@ -1683,7 +1683,7 @@ + xfree(p->from); + } + +- if (p->spf_rlevel > 0) ++ if (p->spf_rlevel > 0 && p->current_domain != p->original_domain) + { + xfree(p->current_domain); + } --- libspf.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508041643.j74GhaEu006416>