Browse code

Increased bytecode timeout to 10 seconds.

Andy Ragusa (aragusa) authored on 2021/04/03 02:36:24
Showing 1 changed files
... ...
@@ -339,8 +339,8 @@ const struct clam_option __clam_options[] = {
339 339
     {"BytecodeSecurity", NULL, 0, CLOPT_TYPE_STRING, "^(TrustSigned|Paranoid)$", -1, "TrustSigned", 0, OPT_CLAMD,
340 340
      "Set bytecode security level.\nPossible values:\n\tTrustSigned - trust bytecode loaded from signed .c[lv]d files,\n\t\t insert runtime safety checks for bytecode loaded from other sources\n\tParanoid - don't trust any bytecode, insert runtime checks for all\nRecommended: TrustSigned, because bytecode in .cvd files already has these checks.", "TrustSigned"},
341 341
 
342
-    {"BytecodeTimeout", "bytecode-timeout", 0, CLOPT_TYPE_NUMBER, MATCH_NUMBER, 5000, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN,
343
-     "Set bytecode timeout in milliseconds.", "5000"},
342
+    {"BytecodeTimeout", "bytecode-timeout", 0, CLOPT_TYPE_NUMBER, MATCH_NUMBER, 10000, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN,
343
+     "Set bytecode timeout in milliseconds.", "10000"},
344 344
 
345 345
     {"BytecodeUnsigned", "bytecode-unsigned", 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN,
346 346
      "Allow loading bytecode from outside digitally signed .c[lv]d files.", "no"},