Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix setting scan_max_filesize #410

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChrisOrlando
Copy link

@ChrisOrlando ChrisOrlando commented Mar 9, 2023

the variable name $scan_max_filesize is being used to store the configuration value for the largest file size that should be scanned which is passed to find and also the largest file size in the signatures.

add a new variable called $sig_max_filesize for that purpose and add a conditional check so that we don't override $scan_max_filesize if the user has set it in the configuration

this definitely needs some scrutiny

the variable name $scan_max_filesize is being used to store the
configuration value for the largest file size that should be scanned
which is passed to find and also the largest file size in the
signatures.

add a new variable called $sig_max_filesize for that purpose and add a
conditional check so that we don't override $scan_max_filesize if the
user has set it in the configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant