From a627d0968946429698839799a6dd901b978dbd0a Mon Sep 17 00:00:00 2001 From: "Jonas Zaddach (jzaddach)" Date: Wed, 12 Feb 2020 19:59:47 -0800 Subject: [PATCH] Correct disassembling of bytecode ICMP_ULT instruction --- libclamav/bytecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclamav/bytecode.c b/libclamav/bytecode.c index dfcaef848..76e1835a2 100644 --- a/libclamav/bytecode.c +++ b/libclamav/bytecode.c @@ -3360,7 +3360,7 @@ void cli_byteinst_describe(const struct cli_bc_inst *inst, unsigned *bbnum) printf("%d = (%d >= %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]); break; case OP_BC_ICMP_ULT: - printf("%d = (%d > %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]); + printf("%d = (%d < %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]); break; case OP_BC_ICMP_ULE: printf("%d = (%d >= %d)", inst->dest, inst->u.binop[0], inst->u.binop[1]);