fix debug message

git-svn: trunk@680
remotes/push_mirror/metadata
Tomasz Kojm 21 years ago
parent ce4fc78d13
commit 6953ba14bf
  1. 4
      clamav-devel/ChangeLog
  2. 2
      clamav-devel/libclamav/pe.c

@ -1,3 +1,7 @@
Wed Jul 21 04:14:34 CEST 2004 (tk)
----------------------------------
* libclamav: pe: fix debug message
Tue Jul 20 17:05:38 BST 2004 (trog)
-----------------------------------
* libclamav/chmunpack.c: remove the uncompressed temp file

@ -429,7 +429,7 @@ int cli_scanpe(int desc, const char **virname, long int *scanned, const struct c
/* simple sanity check */
if(!broken && EC32(section_hdr[nsections - 1].PointerToRawData) + EC32(section_hdr[nsections - 1].SizeOfRawData) > sb.st_size) {
cli_dbgmsg("Possibly broken PE file - Section %d out of file (Offset@ %d, Rsize %d, Total filesize %d, EP@ %d)\n", i, EC32(section_hdr[i].PointerToRawData), EC32(section_hdr[i].SizeOfRawData), sb.st_size, ep);
cli_dbgmsg("Possibly broken PE file - Section %d out of file (Offset@ %d, Rsize %d, Total filesize %d, EP@ %d)\n", nsections - 1, EC32(section_hdr[nsections - 1].PointerToRawData), EC32(section_hdr[nsections - 1].SizeOfRawData), sb.st_size, ep);
broken = 1;
}

Loading…
Cancel
Save