-
Notifications
You must be signed in to change notification settings - Fork 22
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
Can't allocate memory #1
Comments
Hi, Which version of clam engine are you using this with? If it's 0.98.4 then the problem is that they switched to using OpenSSL but they have not exported the function to initialize it (cl_initialize_crypto, which is located in the crypto.h file). I have fixed this privately by patching this pull request: and then calling cl_initialize_crypto from the init function. I'm waiting for 98.5 to roll out before I push this to the repo together with all the work supporting callbacks. Hope this helps. |
oops, didn't mean to close it. |
This is indeed the version I''m using. For now, I'm implementing the scanner purely in Go but in the future I'll revisit ClamAV binding in Go. Thanks! |
0.98.5, which is in beta, has fixed the problem. |
avclient throws
Can't allocate memory
for every scanned file. It seems like there is some problem with the way wrapper runs ClamEngine.The text was updated successfully, but these errors were encountered: