[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

aCaB acab at clamav.net
Sun Apr 4 01:00:35 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 5ac8c7dcff5735fdfb430592d9bc3dcf3d6cd6ed
Author: aCaB <acab at clamav.net>
Date:   Fri Aug 21 02:18:35 2009 +0200

    ishield: s/free(hdr)/IS_FREE_HDR/

diff --git a/ChangeLog b/ChangeLog
index 5840382..4fc5771 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Aug 21 02:17:11 CEST 2009 (acab)
+------------------------------------
+ * libclamav/ishield.c: properly free() header
+
 Fri Aug 21 00:56:03 CEST 2009 (acab)
 ------------------------------------
  * build system: upgrade to autoconf 2.64 and automake 1.11 (bb#1528)
diff --git a/libclamav/ishield.c b/libclamav/ishield.c
index 003129e..6e2cb67 100644
--- a/libclamav/ishield.c
+++ b/libclamav/ishield.c
@@ -663,7 +663,7 @@ static int is_parse_hdr(int desc, cli_ctx *ctx, struct IS_CABSTUFF *c) {
 			    cabret = CL_CLEAN;
 			}
 			if(cabret != CL_CLEAN) {
-			    free(hdr);
+			    IS_FREE_HDR;
 			    return cabret;
 			}
 		    } else {

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list