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

Fixed clamonacc infinite loop when watch directory doesn't exist #1047

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

ragusaa
Copy link
Contributor

@ragusaa ragusaa commented Oct 6, 2023

Fixes: #793

Copy link
Contributor

@micahsnyder micahsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In testing this does indeed fix the bug and scanning of other valid include-paths do work after this change.

There is unfortunately no error or warning message when the OnAccessIncludePath does not exist. But no adverse effect either, now.

I played with it a tiny bit to try and put in a warning message. I was able to, but it didn't feel like the right spot and I wasn't sure if there would be adverse effects to that... so I think I wanna accept this as-is.

@micahsnyder micahsnyder merged commit 8548ca5 into Cisco-Talos:main Oct 19, 2023
23 checks passed
Juho-J pushed a commit to Juho-J/clamav that referenced this pull request Mar 6, 2024
micahsnyder pushed a commit to Juho-J/clamav that referenced this pull request Aug 30, 2024
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.

clamav-clamonacc 1.0.0 stuck on 100% cpu Usage if non-existent OnAccessIncludePath Directory is given
2 participants