Skip to content

Commit

Permalink
Correct the size of max scan size
Browse files Browse the repository at this point in the history
  • Loading branch information
dmknght committed Jan 18, 2024
1 parent 7771e45 commit 57ab987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/engine_cores.nim
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ proc init_clamav*(clam_engine: var ClEngine, loaded_sig_count: var uint, path_cl
clam_engine.options.parse = bitand(clam_engine.options.parse, CL_SCAN_PARSE_ELF)
clam_engine.options.parse = bitand(clam_engine.options.parse, CL_SCAN_PARSE_PE)

discard clam_engine.engine.cl_engine_set_num(CL_ENGINE_MAX_FILESIZE, 75 * 1024 * 1024) # Max scan size 60mb
discard clam_engine.engine.cl_engine_set_num(CL_ENGINE_MAX_FILESIZE, 75 * 1024 * 1024) # Max scan size 75mb

# Did we set debug?
if clam_debug:
Expand Down

0 comments on commit 57ab987

Please sign in to comment.