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

Fix CodeQL gripe with incorrect return value check for sscanf() call #405

Conversation

esabol
Copy link
Member

@esabol esabol commented Jul 21, 2024

This merge request rectifies a CodeQL gripe with an incorrect return value check for a sscanf() call:

https://github.com/gearman/gearmand/security/code-scanning/41

I don't actually use Hiredis, so this change is completely untested. I think it's right though. Does it look correct to you, @SpamapS ?

@esabol esabol mentioned this pull request Jul 21, 2024
@SpamapS SpamapS merged commit 47f232c into gearman:master Aug 4, 2024
14 checks passed
@esabol esabol deleted the fix-CodeQL-gripe-about-incorrect-return-value-check-of-sscanf branch August 4, 2024 03:16
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