[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:21:19 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 271f08e59e22faee5d02083b172036d5aefaa7d7
Author: Török Edvin <edwin at clamav.net>
Date:   Wed Feb 24 13:10:14 2010 +0200

    Only detect swizzor in english resources.

diff --git a/libclamav/pe.c b/libclamav/pe.c
index 5a04c55..842edd9 100644
--- a/libclamav/pe.c
+++ b/libclamav/pe.c
@@ -478,6 +478,8 @@ static void cli_parseres_special(uint32_t base, uint32_t rva, fmap_t *map, struc
 					stats->errors++;
 					continue;
 				}
+				if ((id&0xff) != 0x09) /* english res only */
+				    continue;
 				if((str = fmap_need_off_once(map, rawaddr, isz)))
 					cli_detect_swizz_str(str, isz, stats, type);
 			}

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list