1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/mail/libspf2/files/patch-src_libspf2_spf__request.c
Vsevolod Stakhov 6db9e66f7a Completing repo-copy of mail/libspf2 to mail/libspf2-10.
PR:		85000
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Repocopy by:	marcus
2005-09-11 21:26:39 +00:00

13 lines
364 B
C

--- src/libspf2/spf_request.c.orig Mon Feb 21 23:38:57 2005
+++ src/libspf2/spf_request.c Mon Mar 28 10:37:52 2005
@@ -307,6 +307,9 @@
char *record;
size_t len;
+ if ( (spf_request == NULL) || (rcpt_to == NULL) )
+ return SPF_E_INVALID_OPT;
+
SPF_ASSERT_NOTNULL(spf_request);
spf_server = spf_request->spf_server;
SPF_ASSERT_NOTNULL(spf_server);