/trunk/debian/changelog |
---|
1,13 → 1,3 |
libspf2 (1.2.9-6) unstable; urgency=low |
* Rename ipv6-buffer-miscalculation.patch ipv6-bugs.patch. Include |
the following small IPv6-related patches from FreeBSD: |
* patch-src_libspf2_spf__compile.c |
* patch-src_libspf2_spf__interpret.c |
Already included was patch-src_libspf2_spf__expand.c. |
-- Magnus Holmgren <holmgren@debian.org> Sun, 22 Jan 2012 22:45:04 +0100 |
libspf2 (1.2.9-5) unstable; urgency=low |
* Convert package to source format 3.0 (quilt). |
/trunk/debian/patches/ipv6-bugs.patch |
---|
File deleted |
/trunk/debian/patches/series |
---|
1,3 → 1,3 |
private-glibc-functions.patch |
spf_dns-include-std-headers.patch |
ipv6-bugs.patch |
ipv6-buffer-miscalculation.patch |
/trunk/debian/patches/ipv6-buffer-miscalculation.patch |
---|
0,0 → 1,17 |
Author: Matthias Scheler <tron@netbsd.org> |
Description: Fix an abort() caused by miscalculating the size of an internal buffer. |
This can crash applications using "libspf2" (e.g. "milter-greylist") |
in an e-mail gets delivered via SMTP over IPv6 depending on the |
remote machine's IPv6 address. |
--- a/src/libspf2/spf_expand.c 2008-11-03 21:29:00.000000000 +0000 |
+++ b/src/libspf2/spf_expand.c 2009-09-08 11:27:52.000000000 +0100 |
@@ -245,7 +245,7 @@ |
case PARM_CLIENT_IP: /* SMTP client IP */ |
#ifdef COMPUTE |
if (compute_length) { |
- len = sizeof(ip6_buf); |
+ len = sizeof(ip6_rbuf); |
if (d->dv.url_encode) |
len *= 3; |
buflen += len; |