Browse code

Experimental mode: Fix INCLUDE loop handling bug

git-svn: trunk@3153

Nigel Horne authored on 2007/07/16 16:37:03
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Jul 16 07:43:19 BST 2007 (njh)
2
+----------------------------------
3
+  * clamav-milter:	Experimental mode: Fix INCLUDE loop handling bug
4
+
1 5
 Sun Jul 15 22:12:45 BST 2007 (njh)
2 6
 ----------------------------------
3 7
   * clamav-milter:	Chroot handling no longer marked as experimental
... ...
@@ -33,7 +33,7 @@
33 33
  */
34 34
 static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.312 2007/02/12 22:24:21 njh Exp $";
35 35
 
36
-#define	CM_VERSION	"devel-150707"
36
+#define	CM_VERSION	"devel-160707"
37 37
 
38 38
 #if HAVE_CONFIG_H
39 39
 #include "clamav-config.h"
... ...
@@ -3435,7 +3435,7 @@ clamfi_eom(SMFICTX *ctx)
3435 3435
 	if((strstr(mess, "FOUND") != NULL) && (strstr(mess, "Phishing") != NULL)) {
3436 3436
 		table_t *prevhosts = tableCreate();
3437 3437
 
3438
-		if(spf(privdata, NULL)) {
3438
+		if(spf(privdata, prevhosts)) {
3439 3439
 			logg(_("%s: Ignoring phish false positive\n"), sendmailId);
3440 3440
 			strcpy(mess, "OK");
3441 3441
 		}