-
Notifications
You must be signed in to change notification settings - Fork 705
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
Clam 2410 recent coverity issues #998
Clam 2410 recent coverity issues #998
Commits on Aug 17, 2023
-
Coverity-514958: Error handling check with getpagesize call
`cli_getpagesize()` may return -1 in an error condition. If it does, let's just treat it as 4096. I believe the actual coverity complaint is a false positive, but it's fair to account for the error case and this should shut it up.
Configuration menu - View commit details
-
Copy full SHA for 994aca4 - Browse repository at this point
Copy the full SHA 994aca4View commit details -
Coverity-415957, 415950: ClamDTOP error handling
On error `getmaxyx()` may set the output params to -1. We must check for this before treating the result as unsigned.
Configuration menu - View commit details
-
Copy full SHA for ed0667f - Browse repository at this point
Copy the full SHA ed0667fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 252ea16 - Browse repository at this point
Copy the full SHA 252ea16View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc6e2b2 - Browse repository at this point
Copy the full SHA cc6e2b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e034271 - Browse repository at this point
Copy the full SHA e034271View commit details -
Coverity-415953: Ensure string NULL-terminated in clamonacc init
The `read()` function doesn't null terminate the `nwatch_str`, but `strtol` requires it to be NULL-terminated.
Configuration menu - View commit details
-
Copy full SHA for 16aa3f8 - Browse repository at this point
Copy the full SHA 16aa3f8View commit details -
Coverity-415952: Remove logically dead code
In aspack decrypt function, there's a check to make sure that backbytes doesn't exceed 57, because it is used as an index in init_array. However, it is mathematically impossible. So this commit removes the check.
Configuration menu - View commit details
-
Copy full SHA for bcca829 - Browse repository at this point
Copy the full SHA bcca829View commit details -
Freshclam: Minor error handling improvement
Somehow forgot to save and commit final error handling check on the new set_tls_client_certificate() function. This change is needed to have Freshclam fail if you try to use the new client certificate environment variables incorrectly.
Configuration menu - View commit details
-
Copy full SHA for 9581ed6 - Browse repository at this point
Copy the full SHA 9581ed6View commit details