libclamav: pe: pass virtual instead of raw address of entry point to

petite_inflate2x_1to9


git-svn: trunk@727
remotes/push_mirror/metadata
Tomasz Kojm 21 years ago
parent 734ea355ef
commit 36250219d6
  1. 5
      clamav-devel/ChangeLog
  2. 3
      clamav-devel/libclamav/pe.c

@ -1,3 +1,8 @@
Thu Aug 5 11:41:00 CEST 2004 (tk)
----------------------------------
* libclamav: pe: pass virtual instead of raw address of entry point to
petite_inflate2x_1to9
Thu Aug 5 08:44:51 BST 2004 (njh) Thu Aug 5 08:44:51 BST 2004 (njh)
---------------------------------- ----------------------------------
* clamav-milter: Handle more variants of gethostbyname_r * clamav-milter: Handle more variants of gethostbyname_r

@ -755,7 +755,8 @@ int cli_scanpe(int desc, const char **virname, long int *scanned, const struct c
} }
switch(petite_inflate2x_1to9(dest, min, max - min, section_hdr, switch(petite_inflate2x_1to9(dest, min, max - min, section_hdr,
nsections, EC32(optional_hdr.ImageBase), ep, ndesc, nsections, EC32(optional_hdr.ImageBase),
EC32(optional_hdr.AddressOfEntryPoint), ndesc,
found, EC32(optional_hdr.DataDirectory[2].VirtualAddress), found, EC32(optional_hdr.DataDirectory[2].VirtualAddress),
EC32(optional_hdr.DataDirectory[2].Size))) { EC32(optional_hdr.DataDirectory[2].Size))) {
case 1: case 1:

Loading…
Cancel
Save