[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:14:18 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 20e4199352999cc5142dbf05faf9158465efbe77
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Thu Jan 7 23:22:34 2010 +0100

    fix tokens

diff --git a/libclamav/readdb.c b/libclamav/readdb.c
index d08eac6..4328474 100644
--- a/libclamav/readdb.c
+++ b/libclamav/readdb.c
@@ -1875,7 +1875,7 @@ static int cli_loadmd(FILE *fs, struct cl_engine *engine, unsigned int *signo, i
 #define CDB_TOKENS 12
 static int cli_loadcdb(FILE *fs, struct cl_engine *engine, unsigned int *signo, unsigned int options, struct cli_dbio *dbio)
 {
-	const char *tokens[MD_TOKENS + 1];
+	const char *tokens[CDB_TOKENS + 1];
 	char buffer[FILEBUFF], *buffer_cpy;
 	unsigned int line = 0, sigs = 0, tokens_count, n0, n1;
 	int ret = CL_SUCCESS;

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list