[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
Török Edvin
edwin at clamav.net
Sun Apr 4 01:15:08 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 2b312644e1a4283ebe14122a0d6b728e514bf374
Author: Török Edvin <edwin at clamav.net>
Date: Fri Jan 15 15:06:33 2010 +0200
Fix UPX error handling.
Fix typo introduced during fmap conversion, which resulted in spurious
"Can't read data ERROR" on UPX files.
diff --git a/libclamav/pe.c b/libclamav/pe.c
index 593b45a..bcfe811 100644
--- a/libclamav/pe.c
+++ b/libclamav/pe.c
@@ -1801,7 +1801,7 @@ int cli_scanpe(cli_ctx *ctx, icon_groupset *iconset)
return CL_CLEAN;
}
- if(!exe_sections[i + 1].raw || !(src = fmap_need_off_once(map, exe_sections[i + 1].raw, ssize))) {
+ if(!exe_sections[i + 1].rsz || !(src = fmap_need_off_once(map, exe_sections[i + 1].raw, ssize))) {
cli_dbgmsg("UPX: Can't read raw data of section %d\n", i+1);
free(exe_sections);
return CL_EREAD;
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list