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


The following commit has been merged in the debian/unstable branch:
commit e3fecc08c00f0683ffb8e0a011d3f9831887f591
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Tue Feb 2 12:29:29 2010 +0100

    fix infloop

diff --git a/sigtool/sigtool.c b/sigtool/sigtool.c
index 24bcde5..da44d05 100644
--- a/sigtool/sigtool.c
+++ b/sigtool/sigtool.c
@@ -869,6 +869,7 @@ static int build(const struct optstruct *opts)
 		FREE_LS(dblist2);
 		return -1;
 	    }
+	    lspt = lspt->next;
 	}
     } else {
 	for(i = 0; dblist[i].name; i++) {
@@ -971,7 +972,7 @@ static int build(const struct optstruct *opts)
 
     mprintf("Created %s\n", newcvd);
 
-    if(optget(opts, "no-cdiff")->enabled) {
+    if(!oldcvd || optget(opts, "no-cdiff")->enabled) {
 	mprintf("Skipping .cdiff creation\n");
 	return 0;
     }

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list