Task #133014 - python-ldap-3.4.5-2.fc44/scan-results.err
back to task #133014download
Error: GCC_ANALYZER_WARNING (CWE-401): python_ldap-3.4.5/Modules/LDAPObject.c:637:8: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(PyBytes_AsString(PyObject_CallMethod(SASLObject, "callback", "isss", *interact.id, *interact.challenge, *interact.prompt, *interact.defresult)))’ python_ldap-3.4.5/Modules/LDAPObject.c:659:1: enter_function: entry to ‘py_ldap_sasl_interaction’ python_ldap-3.4.5/Modules/LDAPObject.c:666:12: branch_true: following ‘true’ branch... python_ldap-3.4.5/Modules/LDAPObject.c:669:14: branch_true: ...to here python_ldap-3.4.5/Modules/LDAPObject.c:669:14: call_function: calling ‘interaction’ from ‘py_ldap_sasl_interaction’ python_ldap-3.4.5/Modules/LDAPObject.c:669:14: return_function: returning to ‘py_ldap_sasl_interaction’ from ‘interaction’ python_ldap-3.4.5/Modules/LDAPObject.c:670:12: branch_false: following ‘false’ branch... python_ldap-3.4.5/Modules/LDAPObject.c:672:9: branch_false: ...to here python_ldap-3.4.5/Modules/LDAPObject.c:666:12: branch_true: following ‘true’ branch... python_ldap-3.4.5/Modules/LDAPObject.c:669:14: branch_true: ...to here python_ldap-3.4.5/Modules/LDAPObject.c:669:14: call_function: calling ‘interaction’ from ‘py_ldap_sasl_interaction’ # 635| */ # 636| interact->result = strdup(c_result); # 637|-> if (interact->result == NULL) # 638| return LDAP_OPERATIONS_ERROR; # 639| interact->len = strlen(c_result);