Errors seen in LOGS/python-kaa-imlib2-0.2.3-12.fc17

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

Raw build logs can be seen here

Reference count too low within an initialization routine

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

src/imlib2.c init_Imlib2 ob_refcnt of Image_PyObject_Type is 2 too low

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

src/imlib2.c init_Imlib2 ob_refcnt of '*c_api' is 1 too high

Segfaults within error-handling paths

Code paths in error-handling that will lead to a segmentatation fault (e.g. under low memory conditions)

src/imlib2.c _imlib2_open dereferencing NULL (o->image) at src/imlib2.c:171
src/imlib2.c imlib2_load_font dereferencing NULL (o->font) at src/imlib2.c:284
src/imlib2.c init_Imlib2 calling PyModule_AddObject with NULL as argument 1 (m) at src/imlib2.c:307