wwunpack - fixed size of image

git-svn: trunk@2089
remotes/push_mirror/metadata
aCaB 19 years ago
parent 29035bdc18
commit 591b75f7d4
  1. 4
      clamav-devel/ChangeLog
  2. 5
      clamav-devel/libclamav/wwunpack.c

@ -1,3 +1,7 @@
Mon Jul 17 03:00:21 CEST 2006 (acab)
------------------------------------
* libclamav/wwunpack.c: image size fixup
Mon Jul 17 01:17:40 CEST 2006 (acab)
------------------------------------
* libclamav: wwpack32 handler secured and activated

@ -41,7 +41,6 @@
**
** review
** check eax vs al
** check the missed samples
** (check for dll's)
** (have a look at older versions)
**
@ -348,6 +347,10 @@ int wwunpack(char *exe, uint32_t exesz, uint32_t headsize, uint32_t min, uint32_
cli_dbgmsg("WWPack: found OEP @%x\n", csize);
cli_writeint32(stuff+0x28, csize);
csize=cli_readint32(stuff+0x50)-VAALIGN(wwpsz);
cli_writeint32(stuff+0x50, csize);
stuff+=0xf8;
while (sects--) {
uint32_t v=cli_readint32(stuff+8);

Loading…
Cancel
Save