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)
This commit is contained in:
parent
68bc305b6a
commit
39eac4f513
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140790
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libspf
|
||||
DISTVERSION= 1.0.0-p3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.libspf.org/files/src/
|
||||
|
||||
|
11
mail/libspf/files/patch-src_libspf_main.c
Normal file
11
mail/libspf/files/patch-src_libspf_main.c
Normal file
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user