File: netsnmp/client_intf.c
Function: __py_netsnmp_update_session_errors
Error: dereferencing NULL (tmp_for_conversion->ob_refcnt) at netsnmp/client_intf.c:1232
1218 static void
1219 __py_netsnmp_update_session_errors(PyObject *session, char *err_str,
1220                                     int err_num, int err_ind)
1221 {
1222     PyObject *tmp_for_conversion; 
1223 
1224     py_netsnmp_attr_set_string(session, "ErrorStr", err_str, STRLEN(err_str));
when taking False path
1225 
1226     tmp_for_conversion = PyInt_FromLong(err_num);
when PyInt_FromLong() succeeds
1227     PyObject_SetAttrString(session, "ErrorNum", tmp_for_conversion);
when PyObject_SetAttrString() succeeds
1228     Py_DECREF(tmp_for_conversion);
when taking True path
1229 
1230     tmp_for_conversion = PyInt_FromLong(err_ind);
when PyInt_FromLong() fails
1231     PyObject_SetAttrString(session, "ErrorInd", tmp_for_conversion);
when PyObject_SetAttrString() succeeds
1232     Py_DECREF(tmp_for_conversion);
dereferencing NULL (tmp_for_conversion->ob_refcnt) at netsnmp/client_intf.c:1232
found 11 similar trace(s) to this
1233 }

File: netsnmp/client_intf.c
Function: __py_netsnmp_update_session_errors
Error: dereferencing NULL (tmp_for_conversion->ob_refcnt) at netsnmp/client_intf.c:1228
1218 static void
1219 __py_netsnmp_update_session_errors(PyObject *session, char *err_str,
1220                                     int err_num, int err_ind)
1221 {
1222     PyObject *tmp_for_conversion; 
1223 
1224     py_netsnmp_attr_set_string(session, "ErrorStr", err_str, STRLEN(err_str));
when taking True path
1225 
1226     tmp_for_conversion = PyInt_FromLong(err_num);
when PyInt_FromLong() fails
1227     PyObject_SetAttrString(session, "ErrorNum", tmp_for_conversion);
when PyObject_SetAttrString() succeeds
1228     Py_DECREF(tmp_for_conversion);
dereferencing NULL (tmp_for_conversion->ob_refcnt) at netsnmp/client_intf.c:1228
found 1 similar trace(s) to this
1229 
1230     tmp_for_conversion = PyInt_FromLong(err_ind);
1231     PyObject_SetAttrString(session, "ErrorInd", tmp_for_conversion);
1232     Py_DECREF(tmp_for_conversion);
1233 }