dovecot-2.2-pigeonhole: lib-sieve: spamtest virustest extensions...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Sep 15 13:47:38 EEST 2013


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/c20d078d0cf4
changeset: 1795:c20d078d0cf4
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Sep 15 12:19:10 2013 +0200
description:
lib-sieve: spamtest virustest extensions: Fixed end-of-string testing in configuration parser.

diffstat:

 src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e57214510465 -r c20d078d0cf4 src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c
--- a/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c	Thu Aug 15 21:02:37 2013 +0200
+++ b/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c	Sun Sep 15 12:19:10 2013 +0200
@@ -122,7 +122,7 @@
 	spec->header_name = p_strdup_until(pool, data, p);
 	while ( *p == ' ' || *p == '\t' ) p++;
 
-	if ( p == '\0' ) {
+	if ( *p == '\0' ) {
 		spec->regexp_match = FALSE;
 		return TRUE;
 	}


More information about the dovecot-cvs mailing list