tags 459082 + patch pending
tags 392927 + patch pending
thanks

Hi,

I've just sponsored a QA upload by Scott Kitterman which fixes #392927
and #459082. For #392927, he used the patch described as working by Mike
Markley. It's not 100% clear whether this is a fix or just a workaround,
but it's probably better than having spfmilter crashing regularly.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |
diff -u libspf-0.999-1.0.0-p3/debian/control libspf-0.999-1.0.0-p3/debian/control
--- libspf-0.999-1.0.0-p3/debian/control
+++ libspf-0.999-1.0.0-p3/debian/control
@@ -1,8 +1,7 @@
 Source: libspf
 Section: mail
 Priority: extra
-Maintainer: Mattias Nordstrom <[EMAIL PROTECTED]>
-Uploaders: martin f. krafft <[EMAIL PROTECTED]>
+Maintainer: Debian QA Group <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 4.0.0), docbook-to-man
 Standards-Version: 3.6.2.2
 
diff -u libspf-0.999-1.0.0-p3/debian/rules libspf-0.999-1.0.0-p3/debian/rules
--- libspf-0.999-1.0.0-p3/debian/rules
+++ libspf-0.999-1.0.0-p3/debian/rules
@@ -94,7 +94,8 @@
 	  debian/libspf-doc/usr/share/lintian/overrides/libspf-doc
 
 	find debian/libspf-doc -type d -name CVS -print0 | xargs -0 rm -r
-	mv debian/libspf-doc/usr/share/doc/libspf-doc/{html,api}
+	mv debian/libspf-doc/usr/share/doc/libspf-doc/html \
+	  debian/libspf-doc/usr/share/doc/libspf-doc/api
 
 	dh_compress -i
 	dh_fixperms -i
diff -u libspf-0.999-1.0.0-p3/debian/changelog libspf-0.999-1.0.0-p3/debian/changelog
--- libspf-0.999-1.0.0-p3/debian/changelog
+++ libspf-0.999-1.0.0-p3/debian/changelog
@@ -1,3 +1,12 @@
+libspf (0.999-1.0.0-p3-4) unstable; urgency=low
+
+  * QA upload.
+  * Change src/libspf/main.c to fix memory leak that causes crashes with
+    spf-milter (closes: #392927)
+  * Fix bashism in debian rules (closes: #459082) 
+
+ -- Scott Kitterman <[EMAIL PROTECTED]>  Sun, 20 Jan 2008 13:30:06 -0500
+
 libspf (0.999-1.0.0-p3-3) unstable; urgency=low
 
   * Fixed debian/rules file syntax (closes: #353857)
only in patch2:
unchanged:
--- libspf-0.999-1.0.0-p3.orig/src/libspf/main.c
+++ libspf-0.999-1.0.0-p3/src/libspf/main.c
@@ -1683,7 +1683,8 @@
     xfree(p->from);
   }
 
-  if (p->spf_rlevel > 0)
+  if ((p->spf_rlevel > 0) &&
+      (p->current_domain != p->original_domain))
   {
     xfree(p->current_domain);
   }

Reply via email to