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
Coverity corrections #2876
Coverity corrections #2876
Conversation
@tasleson Thanks for this. We'll gladly merge that to the master branch. PS: The nocaselist/nocasedict packages were introduced in pywbem 1.0.0, and the latest 0.x version is 0.17.6. So in theory you should be able to upgrade pywbem in fedora to 0.17.6. Do you know of anything that would prevent that (other than work)? |
I'm not sure, I'll take a look and see if we can move up to 0.17.6, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
pywbem/_recorder.py:693: dead_error_line: Execution cannot reach the expression """" inside this statement: "ret_type = (ret ? type(ret[...". Signed-off-by: Tony Asleson <tasleson@redhat.com>
pywbem/cim_obj.py:1843: assign_undefined: Assigning: "kb_assigns" = "undefined". pywbem/cim_obj.py:1957: property_access: Accessing a property of null-like value "kb_assigns". Ensure the variable exists and is initialized as a list. Signed-off-by: Tony Asleson <tasleson@redhat.com>
@andy-maier Update? |
@andy-maier Are you waiting on something from me? |
@tasleson Hi Tony. Sorry this took so long. We'll merge it into 1.7.0. |
Running coverity on version 0.15.0 which is the latest packaged version for fedora is reporting some errors. I believe this PR addresses some potential issues that should be considered for inclusion.