[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:08:57 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 1f9eb12bff22cd62676d50430c60354db7deda6c
Author: aCaB <acab at clamav.net>
Date:   Sat Oct 31 19:17:22 2009 +0100

    fix typo

diff --git a/libclamav/pe.c b/libclamav/pe.c
index eda5109..57eb9f3 100644
--- a/libclamav/pe.c
+++ b/libclamav/pe.c
@@ -458,7 +458,7 @@ int cli_scanpe(cli_ctx *ctx)
 	return CL_CLEAN;
     }
 
-    if(EC32(file_hdr.Magic) != IMAGE_NT_SIGNATURE) {
+    if(EC32(file_hdr.Magic) != PE_IMAGE_NT_SIGNATURE) {
 	cli_dbgmsg("Invalid PE signature (probably NE file)\n");
 	return CL_CLEAN;
     }
@@ -2163,7 +2163,7 @@ int cli_peheader(fmap_t *map, struct cli_exe_info *peinfo)
 	return -1;
     }
 
-    if(EC32(file_hdr.Magic) != IMAGE_NT_SIGNATURE) {
+    if(EC32(file_hdr.Magic) != PE_IMAGE_NT_SIGNATURE) {
 	cli_dbgmsg("Invalid PE signature (probably NE file)\n");
 	return -1;
     }

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list