[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
Török Edvin
edwin at clamav.net
Sun Apr 4 01:03:21 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 4e2959f26a3e816bfd52734bf1ea6938e2ebce1b
Author: Török Edvin <edwin at clamav.net>
Date: Mon Aug 31 22:56:36 2009 +0300
Fix memory leak.
make check VG=1 passes now!
diff --git a/libclamav/bytecode_vm.c b/libclamav/bytecode_vm.c
index c094c64..8e031d2 100644
--- a/libclamav/bytecode_vm.c
+++ b/libclamav/bytecode_vm.c
@@ -353,7 +353,7 @@ static always_inline struct stack_entry *pop_stack(struct stack *stack,
#define DEFINE_BINOP(opc, OP) DEFINE_BINOP_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64)
#define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8)
-#define CHECK_OP(cond, msg) if((cond)) { cli_dbgmsg(msg); return CL_EBYTECODE;}
+#define CHECK_OP(cond, msg) if((cond)) { cli_dbgmsg(msg); stop = CL_EBYTECODE; break;}
#define DEFINE_CASTOP(opc, OP) \
case opc*5: {\
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list