[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:13:55 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 0ccbfcbe19fad5aa5e74f705ddb23faa5bb6c64c
Author: aCaB <acab at clamav.net>
Date:   Tue Jan 5 02:32:43 2010 +0100

    avoid null deref in bm matcher - this might be a temporary fix

diff --git a/libclamav/pe.c b/libclamav/pe.c
index 79d39f3..1176188 100644
--- a/libclamav/pe.c
+++ b/libclamav/pe.c
@@ -2413,7 +2413,7 @@ int cli_peheader(fmap_t *map, struct cli_exe_info *peinfo)
 	return -1;
     }
 
-    while(dirs[2].Size) {
+    while(dirs[2].Size && peinfo->vinfo) {
 	struct vinfo_list vlist;
 	uint8_t *vptr, *baseptr;
     	uint32_t rva, res_sz;

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list