[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:06:50 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 862cc2d7f5be6d8dc66d2585c209bd7c5fdf832d
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Fri Oct 2 14:50:04 2009 +0200

    cover cli_scanraw in sdb mode

diff --git a/libclamav/scanners.c b/libclamav/scanners.c
index 8288201..50ba696 100644
--- a/libclamav/scanners.c
+++ b/libclamav/scanners.c
@@ -1891,7 +1891,7 @@ int cli_magic_scandesc(int desc, cli_ctx *ctx)
 
     if(type != CL_TYPE_IGNORED && ctx->engine->sdb) {
 	if((ret = cli_scanraw(desc, ctx, type, 0, &dettype)) == CL_VIRUS)
-	    return CL_VIRUS;
+	    return cli_checkfp(desc, ctx) ? CL_CLEAN : CL_VIRUS;
 	lseek(desc, 0, SEEK_SET);
     }
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list