Description of problem:
I've been writing an experimental static analysis tool to detect bugs commonly occurring within C Python extension modules:
I ran the latest version of the tool (in git master; post 0.9) on
pyxattr-0.5.0-4.fc17.src.rpm, and it reports various errors.
You can see a list of errors here, triaged into categories (from most significant to least significant):
I've manually reviewed the issues reported by the tool.
Within the category "Reference leaks" the 1 issue reported appears to be a genuine leak.
Within the category "Reference leak within initialization" the 1 issues reported is likely to be inconsequential.
Within the category "Segfaults within error-handling paths" the 3 issues reported appear to be genuine crashers under low-memory conditions
Within the category "Returning (PyObject*)NULL without setting an exception" the 6 issues reported appear to all be false positives.
There may of course be other bugs in my checker tool.
Hope this is helpful; let me know if you need help reading the logs that the tool generates - I know that it could use some improvement.
Version-Release number of selected component (if applicable):
gcc-python-plugin post-0.9 git 796fa7a73adfddb182c2edad70694b5ebca337b9 running the checker in an *f16* chroot
Thanks for your work. I will contact Iustin which is also the author of pylibacl (bug 800126).
Just released a new version on GitHub, https://github.com/downloads/iustin/pyxattr/pyxattr-0.5.1.tar.gz. It should fix all reported issues, plus additionaly I've used the very nice cpychecker_negative_result_sets_exception so that the false positives went away and found a few other small issues. Package doesn't generate any messages anymore (not even non-error ones). Thanks again Dave!
Marcin, I hope you won't have any issues updating to this version; some other things have changed, but it should be straightforward.
pyxattr-0.5.1-1.fc17 has been submitted as an update for Fedora 17.
pyxattr-0.5.1-1.fc16 has been submitted as an update for Fedora 16.
pyxattr-0.5.1-2.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pyxattr-0.5.1-1.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
pyxattr-0.5.1-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.