libclamav: non-LLVM interpreter, fix edge check, cid #10432 & #10446

remotes/push_mirror/0.98.1
David Raynor 12 years ago
parent 6a9086d240
commit dac4e48755
  1. 2
      libclamav/bytecode.c

@ -1967,7 +1967,7 @@ void cli_bytecode_destroy(struct cli_bc *bc)
val = 0x80000000 | gmap[o];\
break;\
}\
if (o > totValues) {\
if (o >= totValues) {\
cli_errmsg("bytecode: operand out of range: %u > %u, for instruction %u in function %u\n", o, totValues, j, i);\
free(map);\
free(gmap);\

Loading…
Cancel
Save