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

Tomasz Kojm tkojm at clamav.net
Sun Apr 4 01:10:09 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 914508b17253eab04c44316704812d960f9e47c6
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Tue Dec 1 23:19:39 2009 +0100

    libclamav/readdb.c: make sure static sigs with floating chars go into AC

diff --git a/ChangeLog b/ChangeLog
index b2f30df..d35c9c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec  1 23:17:53 CET 2009 (tk)
+---------------------------------
+ * libclamav/readdb.c: make sure static sigs with floating chars go into AC
+
 Mon Nov 30 21:16:35 CET 2009 (tk)
 ---------------------------------
  * sigtool: --decode-sigs: handle alternatives
diff --git a/libclamav/readdb.c b/libclamav/readdb.c
index a4790e2..37194a8 100644
--- a/libclamav/readdb.c
+++ b/libclamav/readdb.c
@@ -234,7 +234,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, ',')))) {
 	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