-
Notifications
You must be signed in to change notification settings - Fork 238
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
Fixed 'always false' expressions #182
base: master
Are you sure you want to change the base?
Conversation
Thanks for your PR. Why does PVS-Studio only complain about these two specific instances? There are other comparisons of Could it be that the error is due to the check of |
About
I'm not trying to deliberately hide errors from you. |
Thanks for providing the full report. In that case I really think the check for Care to send another PR removing these checks? Also, please feel free to submit patches for the other issues. |
Can i do this little bit later? |
Sure. Feel free to submit whenever you like... Thank you! |
My mac made the auto-correction of the commit message >.< |
Thanks. Could you please squash your commits and correct the commit message (e.g. using |
I'm a member of the Pinguem.ru competition on finding errors in open source projects. Errors, found using PVS-Studio:
netsniff-ng/proto_icmpv6.c 667 err V547 Expression 'len < 0' is always false.
netsniff-ng/proto_icmpv6.c 685 err V547 Expression 'len < 0' is always false.