[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:07:24 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 786766eb473b38797ea70f9630684f2fa0b6e6ed
Author: aCaB <acab at clamav.net>
Date:   Fri Oct 9 18:01:36 2009 +0200

    properly handle multi-stream gzip files

diff --git a/libclamav/scanners.c b/libclamav/scanners.c
index 230659e..e2b44dd 100644
--- a/libclamav/scanners.c
+++ b/libclamav/scanners.c
@@ -488,6 +488,11 @@ static int cli_scangzip(cli_ctx *ctx)
 		    return CL_EUNLINK;
 		}
 	    }
+	    if(inf == Z_STREAM_END) {
+		at -= z.avail_in;
+		inflateReset(&z);
+		break;
+	    }
 	} while (z.avail_out == 0);
     }
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list