gearman / gearmand

http://gearman.org/
Other
740 stars 137 forks source link

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

Closed esabol closed 3 months ago

esabol commented 4 months ago

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 ?