Errors seen in LOGS/wireshark-1.6.5-1.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

wspy_register.c py_dissector_name ob_refcnt of '*py_object_name' is 1 too high
wspy_register.c py_dissector_register ob_refcnt of new ref from call to PyObject_CallMethod is 1 too high
wspy_register.c py_dissect ob_refcnt of new ref from call to PyObject_CallMethod is 1 too high
wspy_register.c register_all_py_handoffs_foreach ob_refcnt of new ref from call to PyObject_CallMethod 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)

wspy_register.c py_dissector_name dereferencing NULL (MEM[(struct PyStringObject *)py_object_name].ob_sval) at wspy_register.c:85

Implementation notes for gcc-with-cpychecker

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