[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:42 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 2c8d0eb3f184b7837a87955b7a9dc155c648f6d9
Author: Török Edvin <edwin at clamav.net>
Date: Wed Feb 10 17:00:30 2010 +0200
fix init of hook_lsig_matches.
Initing with null, and creating a bitset that is never assigned is obviously not
what was intended here.
diff --git a/libclamav/scanners.c b/libclamav/scanners.c
index 6e1c80a..038c683 100644
--- a/libclamav/scanners.c
+++ b/libclamav/scanners.c
@@ -2302,7 +2302,7 @@ int cl_scandesc(int desc, const char **virname, unsigned long int *scanned, cons
if(!ctx.fmap)
return CL_EMEM;
ctx.fmap--;
- ctx.hook_lsig_matches = NULL; cli_bitset_init();
+ ctx.hook_lsig_matches = cli_bitset_init();
rc = cli_magic_scandesc(desc, &ctx);
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list