SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
security/clamav/patches/patch-libclamav_bytecode_vm_c
Normal file
14
security/clamav/patches/patch-libclamav_bytecode_vm_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Index: libclamav/bytecode_vm.c
|
||||
--- libclamav/bytecode_vm.c.orig
|
||||
+++ libclamav/bytecode_vm.c
|
||||
@@ -1326,8 +1326,8 @@ cl_error_t cli_vm_execute(const struct cli_bc *bc, str
|
||||
gettimeofday(&tv1, NULL);
|
||||
tv1.tv_sec -= tv0.tv_sec;
|
||||
tv1.tv_usec -= tv0.tv_usec;
|
||||
- cli_dbgmsg("interpreter bytecode run finished in %luus, after executing %u opcodes\n",
|
||||
- tv1.tv_sec * 1000000 + tv1.tv_usec, pc);
|
||||
+ cli_dbgmsg("interpreter bytecode run finished in %lluus, after executing %u opcodes\n",
|
||||
+ (long long)tv1.tv_sec * 1000000 + tv1.tv_usec, pc);
|
||||
}
|
||||
if (stop == CL_EBYTECODE) {
|
||||
cli_event_error_str(ctx->bc_events, "interpreter finished with error\n");
|
Loading…
Add table
Add a link
Reference in a new issue