diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-08-05 21:48:17 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-08-05 21:48:17 +0800 |
commit | b13390ed7f870c5109e00146cb79babe404c1e11 (patch) | |
tree | eba128302ce1e5dc12a4ef19fb858bb070b40cb0 /mail/libspf/files | |
parent | 67ff7cae0b532b79de2c2b49cf6e8f6796f05a6b (diff) | |
download | freebsd-ports-gnome-b13390ed7f870c5109e00146cb79babe404c1e11.tar.gz freebsd-ports-gnome-b13390ed7f870c5109e00146cb79babe404c1e11.tar.zst freebsd-ports-gnome-b13390ed7f870c5109e00146cb79babe404c1e11.zip |
Fix double-free bug (also reported upstream).
Bump PORTREVISION.
PR: ports/84552
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> (maintainer)
Obtained from: Ricky Chan <ricky@ricky-chan.co.uk>
Approved by: portmgr (krion)
Diffstat (limited to 'mail/libspf/files')
-rw-r--r-- | mail/libspf/files/patch-src_libspf_main.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); + } |