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

0.96
aCaB 16 years ago
parent 1542be5104
commit 0ccbfcbe19
  1. 2
      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;

Loading…
Cancel
Save