summaryrefslogtreecommitdiff
path: root/mail/libspf2/files/patch-src__libspf2__spf_interpret.c
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-12-13 02:57:08 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-12-13 02:57:08 +0000
commit12035fe7720b346e2a8c4209fdb879a81a1f64b2 (patch)
treebee44367d47ecec834b0bb0f44b1e785bafbab6a /mail/libspf2/files/patch-src__libspf2__spf_interpret.c
parent- Mark as FORBIDDEN (diff)
- Fix SIGSEGV in amd64 using size_t instead of int. [1]
- res_state has to be initialized before calling res_ninit(). [2] - Where res_ndestroy() is available, when thread is destroyed, we need to call res_ndestroy() instead of res_nclose(), to free the resource which is allocated by the resolver internally. [2] - portlint(1) - Bump PORTREVISION PR: 105001 [1] Submitted by: Christophe Thil<chris___thil.de> [1], ume [2]
Diffstat (limited to 'mail/libspf2/files/patch-src__libspf2__spf_interpret.c')
-rw-r--r--mail/libspf2/files/patch-src__libspf2__spf_interpret.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/libspf2/files/patch-src__libspf2__spf_interpret.c b/mail/libspf2/files/patch-src__libspf2__spf_interpret.c
new file mode 100644
index 000000000000..b48e5d33d9b3
--- /dev/null
+++ b/mail/libspf2/files/patch-src__libspf2__spf_interpret.c
@@ -0,0 +1,13 @@
+--- src/libspf2/spf_interpret.c.orig Wed Dec 13 00:46:58 2006
++++ src/libspf2/spf_interpret.c Wed Dec 13 00:47:23 2006
+@@ -49,8 +49,8 @@
+ SPF_record_t *spf_record;
+ SPF_errcode_t err;
+ char *buf;
+- int buflen;
+- int len;
++ size_t buflen;
++ size_t len;
+
+ SPF_ASSERT_NOTNULL(spf_response);
+ spf_request = spf_response->spf_request;