742 static PyObject *
743 make_authdata_list(krb5_authdata **authdata)
744 {
745 int i, n;
746 PyObject *adlist;
747
748 if(!authdata)
when taking False path
749 {
750 Py_INCREF(Py_None);
751 return Py_None;
752 }
753 for(n = 0; authdata[n]; n++) /* */;
when treating unknown struct krb5_authdata * * from krb5module.c:753 as non-NULL
when treating unknown struct krb5_authdata * from krb5module.c:753 as non-NULL
taking True path
when treating unknown struct krb5_authdata * * from krb5module.c:753 as non-NULL
when treating unknown struct krb5_authdata * from krb5module.c:753 as NULL
taking False path
754 adlist = PyTuple_New(n);
when PyTuple_New() fails
755 for(i = 0; i < n; i++)
taking True path
756 PyTuple_SetItem(adlist, i,
when treating unknown struct krb5_authdata * from krb5module.c:758 as non-NULL
when treating unknown struct krb5_authdata * from krb5module.c:757 as non-NULL
when treating unknown struct krb5_authdata * from krb5module.c:757 as non-NULL
when Py_BuildValue() succeeds
calling PyTuple_SetItem with NULL as argument 1 (adlist) at krb5module.c:756
PyTuple_SetItem() invokes Py_TYPE() on the pointer via the PyTuple_Check() macro, thus accessing (NULL)->ob_type
found 1 similar trace(s) to this
757 Py_BuildValue("(iz#)", authdata[i]->ad_type, authdata[i]->contents,
when treating unknown struct krb5_authdata * * from krb5module.c:757 as non-NULL
when treating unknown struct krb5_authdata * * from krb5module.c:757 as non-NULL
758 authdata[i]->length));
when treating unknown struct krb5_authdata * * from krb5module.c:758 as non-NULL
759 return adlist;
760 }