Errors seen in LOGS/python-iwlib-1.1-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

python-iwlib/iwlib.c get_iwconfig ob_refcnt of PyStringObject 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)

python-iwlib/iwlib.c get_iwconfig calling PyDict_SetItem with NULL as argument 2 (D.15549) at python-iwlib/iwlib.c:270
python-iwlib/iwlib.c get_iwconfig calling PyDict_SetItem with NULL as argument 3 (D.15548) at python-iwlib/iwlib.c:270
python-iwlib/iwlib.c get_iwconfig calling PyDict_SetItem with NULL as argument 2 (D.15547) at python-iwlib/iwlib.c:265
python-iwlib/iwlib.c get_iwconfig calling PyDict_SetItem with NULL as argument 3 (D.15546) at python-iwlib/iwlib.c:265