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

Apply coverity Fixes #318

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Apply coverity Fixes #318

merged 2 commits into from
Dec 1, 2023

Conversation

simo5
Copy link
Member

@simo5 simo5 commented Nov 30, 2023

@Jakuje these were introduced with your PR and caught by Coverity.
They seem pretty obvious fixes, bug given our CI is half broken now (all tests pass locally on my system using gnutls 3.8.1) just asking a token review before pushing through.

Originally discovered by Coverity as an unused value and a NULL
dereference, it was actually an unfinished error condition check.

Fixes CID 469486: Code maintainability issues (UNUSED_VALUE)
Fixes CID 469485: Null pointer dereferences (FORWARD_NULL)

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 requested a review from Jakuje November 30, 2023 21:51
Copy link
Contributor

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

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

lgtm

@simo5 simo5 merged commit f656693 into latchset:main Dec 1, 2023
10 of 19 checks passed
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.

2 participants