python-gssapi-1.7.3-15.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
python-gssapi-1.7.3/gssapi/raw/creds.c:6220:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘__pyx_v_res_initiator_ttl’
python-gssapi-1.7.3/gssapi/raw/creds.c:5936:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:5981:55: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:5982:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6018:64: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6019:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6019:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6055:15: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6055:66: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6056:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6056:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6092:15: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6092:56: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6093:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6093:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6120:94: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6130:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6139:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6139:57: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6140:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6140:8: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6188:7: call_function: inlined call to ‘Py_INCREF’ from ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:6210:66: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6211:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6211:8: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6220:19: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6220:19: danger: use of uninitialized value ‘__pyx_v_res_initiator_ttl’ here
# 6218|    *         py_acceptor_ttl = None
# 6219|   */
# 6220|->       __pyx_t_2 = __pyx_f_6gssapi_3raw_17cython_converters_c_c_ttl_to_py(__pyx_v_res_initiator_ttl); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 289, __pyx_L1_error)
# 6221|         __Pyx_GOTREF(__pyx_t_2);
# 6222|         __Pyx_DECREF_SET(__pyx_v_py_initiator_ttl, __pyx_t_2);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
python-gssapi-1.7.3/gssapi/raw/creds.c:6261:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘__pyx_v_res_acceptor_ttl’
python-gssapi-1.7.3/gssapi/raw/creds.c:5936:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:5981:55: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:5982:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6018:64: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6019:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6019:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6055:15: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6055:66: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6056:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6056:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6092:15: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6092:56: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6093:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6093:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6120:94: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6130:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6139:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6139:57: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6140:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6140:8: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6188:7: call_function: inlined call to ‘Py_INCREF’ from ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:6210:66: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6211:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6211:8: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6241:5: call_function: inlined call to ‘Py_INCREF’ from ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:6251:68: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6252:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6252:8: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6261:19: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6261:19: danger: use of uninitialized value ‘__pyx_v_res_acceptor_ttl’ here
# 6259|    *         py_usage = None
# 6260|   */
# 6261|->       __pyx_t_2 = __pyx_f_6gssapi_3raw_17cython_converters_c_c_ttl_to_py(__pyx_v_res_acceptor_ttl); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 293, __pyx_L1_error)
# 6262|         __Pyx_GOTREF(__pyx_t_2);
# 6263|         __Pyx_DECREF_SET(__pyx_v_py_acceptor_ttl, __pyx_t_2);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3]
python-gssapi-1.7.3/gssapi/raw/creds.c:6302:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘__pyx_v_res_usage’
python-gssapi-1.7.3/gssapi/raw/creds.c:5936:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:5981:55: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:5982:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6018:64: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6019:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6019:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6055:15: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6055:66: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6056:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6056:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6092:15: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6092:56: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6093:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6093:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6120:94: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6130:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6139:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6139:57: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6140:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6140:8: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6188:7: call_function: inlined call to ‘Py_INCREF’ from ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:6210:66: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6211:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6211:8: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6241:5: call_function: inlined call to ‘Py_INCREF’ from ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:6251:68: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6252:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6252:8: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6282:5: call_function: inlined call to ‘Py_INCREF’ from ‘__pyx_pf_6gssapi_3raw_5creds_8inquire_cred_by_mech’
python-gssapi-1.7.3/gssapi/raw/creds.c:6292:58: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6293:8: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6293:8: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6302:19: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6302:19: danger: use of uninitialized value ‘__pyx_v_res_usage’ here
# 6300|    *             elif res_usage == GSS_C_ACCEPT:
# 6301|   */
# 6302|->       __pyx_t_1 = (__pyx_v_res_usage == GSS_C_INITIATE);
# 6303|         if (__pyx_t_1) {
# 6304|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
python-gssapi-1.7.3/gssapi/raw/creds.c:8582:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’
python-gssapi-1.7.3/gssapi/raw/creds.c:6514:18: enter_function: entry to ‘__pyx_tp_new_6gssapi_3raw_5creds_Creds’
python-gssapi-1.7.3/gssapi/raw/creds.c:6516:7: call_function: calling ‘__Pyx_AllocateExtensionType’ from ‘__pyx_tp_new_6gssapi_3raw_5creds_Creds’
python-gssapi-1.7.3/gssapi/raw/creds.c:6516:7: return_function: returning to ‘__pyx_tp_new_6gssapi_3raw_5creds_Creds’ from ‘__Pyx_AllocateExtensionType’
python-gssapi-1.7.3/gssapi/raw/creds.c:6517:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/creds.c:6518:7: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/creds.c:6518:7: call_function: calling ‘__pyx_pw_6gssapi_3raw_5creds_5Creds_1__cinit__’ from ‘__pyx_tp_new_6gssapi_3raw_5creds_Creds’
# 8580|           while (*name && (**name != key)) name++;
# 8581|           if (*name) {
# 8582|->             PyObject *value = kwvalues[pos];
# 8583|               values[name-argnames] = __Pyx_NewRef(value);
# 8584|           } else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:2999:15: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 2997|       __PYX_ERR(0, 75, __pyx_L1_error)
# 2998|     }
# 2999|->   __pyx_t_5 = PyDict_Size(__pyx_v_values); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 75, __pyx_L1_error)
# 3000|     __pyx_v_res->count = __pyx_t_5;
# 3001|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:3019:7: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc((long unsigned int)(PyDict_Size(__pyx_v_values) & 4294967295), 16)’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 3017|   */
# 3018|     __pyx_t_1 = (__pyx_v_res->elements == NULL);
# 3019|->   if (unlikely(__pyx_t_1)) {
# 3020|   
# 3021|       /* "gssapi/raw/ext_cred_store.pyx":81

Error: COMPILER_WARNING (CWE-704): [#def7]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c: scope_hint: In function ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_acquire_cred_from’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:3922:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3922 |     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
#      |                     ^
# 3920|   */
# 3921|     /*else*/ {
# 3922|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 3923|     }
# 3924|     __pyx_L6:;

Error: COMPILER_WARNING (CWE-704): [#def8]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:3922:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3920|   */
# 3921|     /*else*/ {
# 3922|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 3923|     }
# 3924|     __pyx_L6:;

Error: COMPILER_WARNING (CWE-704): [#def9]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c: scope_hint: In function ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_2add_cred_from’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:4667:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 4667 |     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
#      |                     ^
# 4665|   */
# 4666|     /*else*/ {
# 4667|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 4668|     }
# 4669|     __pyx_L5:;

Error: COMPILER_WARNING (CWE-704): [#def10]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:4667:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 4665|   */
# 4666|     /*else*/ {
# 4667|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 4668|     }
# 4669|     __pyx_L5:;

Error: COMPILER_WARNING (CWE-704): [#def11]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c: scope_hint: In function ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5331:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 5331 |     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
#      |                     ^
# 5329|   */
# 5330|     /*else*/ {
# 5331|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 5332|     }
# 5333|     __pyx_L5:;

Error: COMPILER_WARNING (CWE-704): [#def12]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5331:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 5329|   */
# 5330|     /*else*/ {
# 5331|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 5332|     }
# 5333|     __pyx_L5:;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6667:16: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6665|       PyTypeObject* tp = Py_TYPE(obj);
# 6666|       if (likely(tp->tp_getattro))
# 6667|->         return tp->tp_getattro(obj, attr_name);
# 6668|       return PyObject_GetAttr(obj, attr_name);
# 6669|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6668:12: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6666|       if (likely(tp->tp_getattro))
# 6667|           return tp->tp_getattro(obj, attr_name);
# 6668|->     return PyObject_GetAttr(obj, attr_name);
# 6669|   }
# 6670|   #endif

Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6738:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6736|       cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
# 6737|       self = __Pyx_CyOrPyCFunction_GET_SELF(func);
# 6738|->     if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
# 6739|           return NULL;
# 6740|       result = cfunc(self, arg);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6740:14: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6738|       if (unlikely(Py_EnterRecursiveCall(" while calling a Python object")))
# 6739|           return NULL;
# 6740|->     result = cfunc(self, arg);
# 6741|       Py_LeaveRecursiveCall();
# 6742|       if (unlikely(!result) && unlikely(!PyErr_Occurred())) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6741:5: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6739|           return NULL;
# 6740|       result = cfunc(self, arg);
# 6741|->     Py_LeaveRecursiveCall();
# 6742|       if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
# 6743|           PyErr_SetString(

Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6742:30: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6740|       result = cfunc(self, arg);
# 6741|       Py_LeaveRecursiveCall();
# 6742|->     if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
# 6743|           PyErr_SetString(
# 6744|               PyExc_SystemError,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6743:9: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6741|       Py_LeaveRecursiveCall();
# 6742|       if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
# 6743|->         PyErr_SetString(
# 6744|               PyExc_SystemError,
# 6745|               "NULL result without error in PyObject_Call");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6783:5: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6781|           return NULL;
# 6782|       }
# 6783|->     assert(PyCallable_Check(callable));
# 6784|       Py_ssize_t offset = tp->tp_vectorcall_offset;
# 6785|       assert(offset > 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6813:24: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6811|               vectorcallfunc f = __Pyx_PyVectorcall_Function(func);
# 6812|               if (f) {
# 6813|->                 return f(func, args, _nargs, NULL);
# 6814|               }
# 6815|             #endif

Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:6822:12: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 6820|       }
# 6821|       #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
# 6822|->     return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
# 6823|       #else
# 6824|       return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:7033:20: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 7031|       if (likely(was_initialized == 2 && cfunc->func)) {
# 7032|           if (likely(cfunc->flag == METH_NOARGS))
# 7033|->             return __Pyx_CallCFunction(cfunc, self, NULL);
# 7034|           if (likely(cfunc->flag == METH_FASTCALL))
# 7035|               return __Pyx_CallCFunctionFast(cfunc, self, NULL, 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:7035:20: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 7033|               return __Pyx_CallCFunction(cfunc, self, NULL);
# 7034|           if (likely(cfunc->flag == METH_FASTCALL))
# 7035|->             return __Pyx_CallCFunctionFast(cfunc, self, NULL, 0);
# 7036|           if (cfunc->flag == (METH_FASTCALL | METH_KEYWORDS))
# 7037|               return __Pyx_CallCFunctionFastWithKeywords(cfunc, self, NULL, 0, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:7037:20: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 7035|               return __Pyx_CallCFunctionFast(cfunc, self, NULL, 0);
# 7036|           if (cfunc->flag == (METH_FASTCALL | METH_KEYWORDS))
# 7037|->             return __Pyx_CallCFunctionFastWithKeywords(cfunc, self, NULL, 0, NULL);
# 7038|           if (likely(cfunc->flag == (METH_VARARGS | METH_KEYWORDS)))
# 7039|               return __Pyx_CallCFunctionWithKeywords(cfunc, self, __pyx_mstate_global->__pyx_empty_tuple, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:7039:20: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 7037|               return __Pyx_CallCFunctionFastWithKeywords(cfunc, self, NULL, 0, NULL);
# 7038|           if (likely(cfunc->flag == (METH_VARARGS | METH_KEYWORDS)))
# 7039|->             return __Pyx_CallCFunctionWithKeywords(cfunc, self, __pyx_mstate_global->__pyx_empty_tuple, NULL);
# 7040|           if (cfunc->flag == METH_VARARGS)
# 7041|               return __Pyx_CallCFunction(cfunc, self, __pyx_mstate_global->__pyx_empty_tuple);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:7041:20: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
# 7039|               return __Pyx_CallCFunctionWithKeywords(cfunc, self, __pyx_mstate_global->__pyx_empty_tuple, NULL);
# 7040|           if (cfunc->flag == METH_VARARGS)
# 7041|->             return __Pyx_CallCFunction(cfunc, self, __pyx_mstate_global->__pyx_empty_tuple);
# 7042|           return __Pyx__CallUnboundCMethod0(cfunc, self);
# 7043|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:10308:15: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
#10306|           if (!funcname) goto bad;
#10307|       }
#10308|->     py_code = PyCode_NewEmpty(filename, funcname, py_line);
#10309|       Py_XDECREF(py_funcname);
#10310|       return py_code;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:10319:29: warning[-Wanalyzer-malloc-leak]: leak of ‘__pyx_v_res’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5105:18: enter_function: entry to ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5140:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5171:3: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5180:107: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5181:6: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5301:6: branch_true: following ‘true’ branch...
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: branch_true: ...to here
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5310:17: call_function: calling ‘__pyx_f_6gssapi_3raw_14ext_cred_store_c_create_key_value_set’ from ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
#10317|       PyCodeObject *py_code = 0;
#10318|       PyFrameObject *py_frame = 0;
#10319|->     PyThreadState *tstate = __Pyx_PyThreadState_Current;
#10320|       PyObject *ptype, *pvalue, *ptraceback;
#10321|       if (c_line) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
python-gssapi-1.7.3/gssapi/raw/ext_krb5.c:25321:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’
python-gssapi-1.7.3/gssapi/raw/ext_krb5.c:22273:18: enter_function: entry to ‘__pyx_tp_new__memoryviewslice’
python-gssapi-1.7.3/gssapi/raw/ext_krb5.c:22275:17: call_function: calling ‘__pyx_tp_new_memoryview’ from ‘__pyx_tp_new__memoryviewslice’
#25319|           while (*name && (**name != key)) name++;
#25320|           if (*name) {
#25321|->             PyObject *value = kwvalues[pos];
#25322|               values[name-argnames] = __Pyx_NewRef(value);
#25323|           } else {

Error: COMPILER_WARNING (CWE-457): [#def31]
python-gssapi-1.7.3/gssapi/raw/ext_rfc6680.c:3682:15: warning[-Wmaybe-uninitialized]: ‘__pyx_v_i’ may be used uninitialized
# 3682 |     __pyx_v_i = (__pyx_v_i + 1);
#      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~
python-gssapi-1.7.3/gssapi/raw/ext_rfc6680.c: scope_hint: In function ‘__pyx_pw_6gssapi_3raw_11ext_rfc6680_5set_name_attribute’
python-gssapi-1.7.3/gssapi/raw/ext_rfc6680.c:3558:10: note: ‘__pyx_v_i’ was declared here
# 3558 |   size_t __pyx_v_i;
#      |          ^~~~~~~~~
# 3680|    *             maj_stat = gss_set_name_attribute(&min_stat, name.raw_name,
# 3681|   */
# 3682|->     __pyx_v_i = (__pyx_v_i + 1);
# 3683|   
# 3684|       /* "gssapi/raw/ext_rfc6680.pyx":111

Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
python-gssapi-1.7.3/gssapi/raw/names.c:7345:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’
python-gssapi-1.7.3/gssapi/raw/names.c:5326:18: enter_function: entry to ‘__pyx_tp_new_6gssapi_3raw_5names_Name’
python-gssapi-1.7.3/gssapi/raw/names.c:5328:7: call_function: calling ‘__Pyx_AllocateExtensionType’ from ‘__pyx_tp_new_6gssapi_3raw_5names_Name’
python-gssapi-1.7.3/gssapi/raw/names.c:5328:7: return_function: returning to ‘__pyx_tp_new_6gssapi_3raw_5names_Name’ from ‘__Pyx_AllocateExtensionType’
python-gssapi-1.7.3/gssapi/raw/names.c:5329:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/names.c:5330:7: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/names.c:5330:7: call_function: calling ‘__pyx_pw_6gssapi_3raw_5names_4Name_1__cinit__’ from ‘__pyx_tp_new_6gssapi_3raw_5names_Name’
# 7343|           while (*name && (**name != key)) name++;
# 7344|           if (*name) {
# 7345|->             PyObject *value = kwvalues[pos];
# 7346|               values[name-argnames] = __Pyx_NewRef(value);
# 7347|           } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:10168:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:7998:18: enter_function: entry to ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8000:7: call_function: calling ‘__Pyx_AllocateExtensionType’ from ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8000:7: return_function: returning to ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’ from ‘__Pyx_AllocateExtensionType’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8001:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8002:7: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8002:7: call_function: calling ‘__pyx_pw_6gssapi_3raw_12sec_contexts_15SecurityContext_1__cinit__’ from ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’
#10166|           while (*name && (**name != key)) name++;
#10167|           if (*name) {
#10168|->             PyObject *value = kwvalues[pos];
#10169|               values[name-argnames] = __Pyx_NewRef(value);
#10170|           } else {

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-71.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-gssapi-1.7.3-15.fc44
store-results-to/tmp/tmpb_o_3oq9/python-gssapi-1.7.3-15.fc44.tar.xz
time-created2026-01-08 20:41:19
time-finished2026-01-08 20:45:26
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpb_o_3oq9/python-gssapi-1.7.3-15.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpb_o_3oq9/python-gssapi-1.7.3-15.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9