Task #132552 - python-ldap-3.4.7-6.fc45/scan-results.err
back to task #132552download
Error: GCC_ANALYZER_WARNING (CWE-401): python_ldap-3.4.7/Modules/LDAPObject.c:640: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.7/Modules/LDAPObject.c:662:1: enter_function: entry to ‘py_ldap_sasl_interaction’ python_ldap-3.4.7/Modules/LDAPObject.c:669:12: branch_true: following ‘true’ branch... python_ldap-3.4.7/Modules/LDAPObject.c:672:14: branch_true: ...to here python_ldap-3.4.7/Modules/LDAPObject.c:672:14: call_function: calling ‘interaction’ from ‘py_ldap_sasl_interaction’ python_ldap-3.4.7/Modules/LDAPObject.c:672:14: return_function: returning to ‘py_ldap_sasl_interaction’ from ‘interaction’ python_ldap-3.4.7/Modules/LDAPObject.c:673:12: branch_false: following ‘false’ branch... python_ldap-3.4.7/Modules/LDAPObject.c:675:9: branch_false: ...to here python_ldap-3.4.7/Modules/LDAPObject.c:669:12: branch_true: following ‘true’ branch... python_ldap-3.4.7/Modules/LDAPObject.c:672:14: branch_true: ...to here python_ldap-3.4.7/Modules/LDAPObject.c:672:14: call_function: calling ‘interaction’ from ‘py_ldap_sasl_interaction’ # 638| */ # 639| interact->result = strdup(c_result); # 640|-> if (interact->result == NULL) # 641| return LDAP_OPERATIONS_ERROR; # 642| interact->len = strlen(c_result);