[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:02:05 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit b25441a1c4d497b17f634091c4c2f817840dbe49
Author: aCaB <acab at clamav.net>
Date: Tue Aug 25 16:32:17 2009 +0200
fix typo in unzip_single
diff --git a/libclamav/unzip.c b/libclamav/unzip.c
index c5608a2..aaba81e 100644
--- a/libclamav/unzip.c
+++ b/libclamav/unzip.c
@@ -588,7 +588,7 @@ int cli_unzip_single(int f, cli_ctx *ctx, off_t lhoffl) {
return CL_CLEAN;
}
- if (!(map = fmap(f, 0, fsize))) {
+ if (!(map = fmap(f, 0, st.st_size))) {
cli_dbgmsg("cli_unzip: mmap failed\n");
return CL_EMAP;
}
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list