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

aCaB acab at clamav.net
Sun Apr 4 01:13:58 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 7134c8e00730f0739f2002ab3805f5301bbe754c
Author: aCaB <acab at clamav.net>
Date:   Tue Jan 5 12:06:36 2010 +0100

    force VI anchored sigs into AC

diff --git a/ChangeLog b/ChangeLog
index ce21fa7..0d21b6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan  5 12:04:47 CET 2010 (acab)
+-----------------------------------
+ * libclamav/readdb.c: force VI anchored sigs into AC
+
 Tue Jan  5 02:08:38 CET 2010 (acab)
 -----------------------------------
  * libclamav: merge PE VersionInformation matcher
diff --git a/libclamav/readdb.c b/libclamav/readdb.c
index 21e60e4..f370d9a 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, ',')))) {
+    } 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