... | ... |
@@ -1,3 +1,9 @@ |
1 |
+Wed Feb 29 18:35:45 CET 2012 (acab) |
|
2 |
+----------------------------------- |
|
3 |
+ * libclamav/bytecode.c: reset to BYTECODE_AUTO mode at db reload so that |
|
4 |
+ we don't fail to re-enable or re-disable it again |
|
5 |
+ (bb#3789) |
|
6 |
+ |
|
1 | 7 |
Wed Feb 29 17:02:18 EET 2012 (edwin) |
2 | 8 |
------------------------------------ |
3 | 9 |
* libclamav/bytecode_api*: Fix Sparc crash (bb #4324) |
... | ... |
@@ -2420,6 +2420,7 @@ int cli_bytecode_prepare2(struct cl_engine *engine, struct cli_all_bc *bcs, unsi |
2420 | 2420 |
return CL_SUCCESS; |
2421 | 2421 |
} |
2422 | 2422 |
|
2423 |
+ engine->bytecode_mode = CL_BYTECODE_MODE_AUTO; |
|
2423 | 2424 |
cli_detect_environment(&bcs->env); |
2424 | 2425 |
switch (bcs->env.arch) { |
2425 | 2426 |
case arch_i386: |