ports/mail/libspf2/files/patch-src__libspf2__spf_interpret.c
Marcus Alves Grando 12035fe772 - 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]
2006-12-13 02:57:08 +00:00

13 lines
355 B
C

--- 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;