-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
crypto: add missing return value check #56615
base: main
Are you sure you want to change the base?
Conversation
Add return value check for call to SSL_CTX_add_client_CA to be consistent with other places it is called Fixed unused warning in one of the static analysis tools we use at Red Hat even though it is not being reported by coverity in the configuration we run. Signed-off-by: Michael Dawson <[email protected]>
Review requested:
|
@khardix can you pass this on and ask your new team members to validate this resolves the problem they are seeing? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #56615 +/- ##
==========================================
- Coverage 89.20% 89.19% -0.01%
==========================================
Files 662 662
Lines 191819 191819
Branches 36927 36923 -4
==========================================
- Hits 171110 171100 -10
+ Misses 13565 13557 -8
- Partials 7144 7162 +18
|
This was mostly discovered by @jackorp, so CC'ing him. As for the fix, well, I do not think this addresses the main issue. Yes, our coverity run will now probably pass, but the The So the actual "main fix" we would like to see is either to remove the |
Add return value check for call to SSL_CTX_add_client_CA to be consistent with other places it is called
Fixed unused warning in one of the static analysis tools we use at Red Hat even though it is not being reported by coverity in the configuration we run.