From b13390ed7f870c5109e00146cb79babe404c1e11 Mon Sep 17 00:00:00 2001 From: lawrance Date: Fri, 5 Aug 2005 13:48:17 +0000 Subject: Fix double-free bug (also reported upstream). Bump PORTREVISION. PR: ports/84552 Submitted by: Marcus Grando (maintainer) Obtained from: Ricky Chan Approved by: portmgr (krion) --- mail/libspf/files/patch-src_libspf_main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mail/libspf/files/patch-src_libspf_main.c (limited to 'mail/libspf/files') diff --git a/mail/libspf/files/patch-src_libspf_main.c b/mail/libspf/files/patch-src_libspf_main.c new file mode 100644 index 000000000000..4c5eaf80ac97 --- /dev/null +++ b/mail/libspf/files/patch-src_libspf_main.c @@ -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); + } -- cgit