-
Notifications
You must be signed in to change notification settings - Fork 5
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
Ensure that we check the return value always #96
Comments
Hi @claucece First, thanks for all of your work on OTRv4. It is amazing what you have accomplished. I am interested in helping with this issue. I am a PhD student at the University of California, Davis in software engineering (not cryptography). I have been working on a static analysis tool that infers the error values a function may return. The tool also reports callsites where a function may return an error value if a runtime error occurred, but that value is not checked before use. One of the projects I chose to evaluate the tool on was pidgin-otrng, because of its importance. Would you be willing to help with me fix these? I can try to provide fixes, but I will need some help for the cases that are not trivial. Even for not direct calls to The first step would be to simply confirm which cases are actually bugs. As this is a static analysis there is the possibility of false bug reports. I have looked at them, and in my opinion the signal to noise ratio is high enough that they are worth looking at. Call to get_domain_from_jid at prekey-discovery-jabber.c:253 |
Hi, @defreez !
Oh, thank you! It is a work of a whole team ;)
Oh, it seems very awesome! I'll check it out (the tool).
For sure! I will start checking ;) Thanks so much! |
Every malloc, g_malloc, etc.
The text was updated successfully, but these errors were encountered: