Errors seen in LOGS/libtdb-1.2.9-14.fc17

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

Raw build logs can be seen here

Unclassified errors

The triager didn't know how to classify these ones

../pytdb.c obj_getitem passing uninitialized data (tkey) as argument 2 to function at ../pytdb.c:496

Reference leaks

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

../pytdb.c PyErr_SetTDBError ob_refcnt of new ref from call to Py_BuildValue is 1 too high

Reference leak within initialization

Code paths in which the reference count of an object is left too high, but within an initialization routine, and thus likely to only happen once

../pytdb.c inittdb ob_refcnt of PyIntObject is 1 too high
../pytdb.c inittdb ob_refcnt of PyStringObject 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