[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 01:13:59 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit e1120abceb9451c69356402ade237a51aa977ca2
Author: Török Edvin <edwin at clamav.net>
Date:   Tue Jan 5 13:19:33 2010 +0200

    Fix logic.

diff --git a/libclamav/readdb.c b/libclamav/readdb.c
index f370d9a..64f4005 100644
--- a/libclamav/readdb.c
+++ b/libclamav/readdb.c
@@ -236,7 +236,7 @@ int cli_parse_add(struct cli_matcher *root, const char *virname, const char *hex
 	    free(pt);
 	}
 
-    } else if(root->ac_only || type || lsigid || strpbrk(hexsig, "?([") || (root->bm_offmode && (!strcmp(offset, "*") || strchr(offset, ',') || strstr(offset, "VI")))) {
+    } else if(root->ac_only || type || lsigid || strpbrk(hexsig, "?([") || (root->bm_offmode && (!strcmp(offset, "*") || strchr(offset, ','))) || strstr(offset, "VI")) {
 	if((ret = cli_ac_addsig(root, virname, hexsig, 0, 0, 0, rtype, type, 0, 0, offset, lsigid, options))) {
 	    cli_errmsg("cli_parse_add(): Problem adding signature (3).\n");
 	    return ret;

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list