[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:09:42 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit be2f94dd8a92bb325a2544ed42188b82265634d9
Author: aCaB <acab at clamav.net>
Date:   Thu Nov 26 16:07:11 2009 +0100

    inflateinit spam

diff --git a/ChangeLog b/ChangeLog
index 28c5331..6a5d849 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Nov 26 16:06:30 CET 2009 (acab)
+-----------------------------------
+ * libclamav/scanners.c: print inflateinit2 return code
+
 Wed Nov 25 19:07:51 CET 2009 (tk)
 ---------------------------------
  * sigtool: --decode-sigs: handle .ndb sigs
diff --git a/libclamav/scanners.c b/libclamav/scanners.c
index b4a0490..6cf355d 100644
--- a/libclamav/scanners.c
+++ b/libclamav/scanners.c
@@ -442,8 +442,8 @@ static int cli_scangzip(cli_ctx *ctx)
     cli_dbgmsg("in cli_scangzip()\n");
 
     memset(&z, 0, sizeof(z));
-    if(inflateInit2(&z, MAX_WBITS + 16) != Z_OK) {
-	cli_dbgmsg("GZip: InflateInit failed\n");
+    if((ret = inflateInit2(&z, MAX_WBITS + 16)) != Z_OK) {
+	cli_dbgmsg("GZip: InflateInit failed: %d\n", ret);
 	return CL_CLEAN;
     }
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list