Errors seen in LOGS/libpwquality-1.0.0-2.fc17

This is a summary of errors seen when compiling with an experimental static analysis tool

Raw build logs can be seen here

Reference leaks

Code paths in which the reference count of an object is left too high, leading to memory leaks

pwquality.c pwqerror ob_refcnt of '*py_errvalue' is 1 too high

Possible reference leaks

Code paths in which the reference count of an object might too large - but in which the reference in question came from a function not known to the analyzer.

The analyzer assumes such references are new references, but if the function returns a borrowed reference instead, it's probably not a bug

pwquality.c pwqsettings_setint ob_refcnt of new ref from (unknown) pwqerror is 1 too high
pwquality.c pwqsettings_setstr ob_refcnt of new ref from (unknown) pwqerror is 1 too high

Implementation notes for gcc-with-cpychecker

The following "Py" functions were used but aren't yet explicitly handled by gcc-with-cpychecker