[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:19:37 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 94469253305e954f43d435ffb40071b0ffb17f84
Author: Török Edvin <edwin at clamav.net>
Date:   Tue Feb 9 20:21:40 2010 +0200

    fix build

diff --git a/libclamav/filtering.c b/libclamav/filtering.c
index 1019c8e..813c652 100644
--- a/libclamav/filtering.c
+++ b/libclamav/filtering.c
@@ -265,7 +265,7 @@ static inline unsigned char spec_ith_char(const struct char_spec *spec, unsigned
 {
 	const struct cli_ac_special *alt = spec->alt;
 	if (alt) {
-		assert (alt->chmode);
+		assert (alt->type == 1);
 		assert (i < alt->num);
 		return alt->str[i];
 	}
@@ -441,7 +441,7 @@ int  filter_add_acpatt(struct filter *m, const struct cli_ac_patt *pat)
 				break;
 			case CLI_MATCH_SPECIAL:
 				assert(pat->special_table);
-				assert(altcnt < pat->alt);
+//				assert(altcnt < pat->alt);
 				assert(pat->special_table[altcnt]);
 				switch (pat->special_table[altcnt++]->type) {
 				    case 1: /* ALT_CHAR */

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list