Error: GCC_ANALYZER_WARNING (CWE-401): [#def1] python-ldap-3.4.4/Modules/LDAPObject.c:610: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.4/Modules/LDAPObject.c:632:1: enter_function: entry to ‘py_ldap_sasl_interaction’ python-ldap-3.4.4/Modules/LDAPObject.c:639:12: branch_true: following ‘true’ branch... python-ldap-3.4.4/Modules/LDAPObject.c:642:14: branch_true: ...to here python-ldap-3.4.4/Modules/LDAPObject.c:642:14: call_function: calling ‘interaction’ from ‘py_ldap_sasl_interaction’ python-ldap-3.4.4/Modules/LDAPObject.c:642:14: return_function: returning to ‘py_ldap_sasl_interaction’ from ‘interaction’ python-ldap-3.4.4/Modules/LDAPObject.c:643:12: branch_false: following ‘false’ branch... python-ldap-3.4.4/Modules/LDAPObject.c:645:9: branch_false: ...to here python-ldap-3.4.4/Modules/LDAPObject.c:639:12: branch_true: following ‘true’ branch... python-ldap-3.4.4/Modules/LDAPObject.c:642:14: branch_true: ...to here python-ldap-3.4.4/Modules/LDAPObject.c:642:14: call_function: calling ‘interaction’ from ‘py_ldap_sasl_interaction’ # 608| */ # 609| interact->result = strdup(c_result); # 610|-> if (interact->result == NULL) # 611| return LDAP_OPERATIONS_ERROR; # 612| interact->len = strlen(c_result);
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-233.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | python-ldap-3.4.4-9.fc43 |
store-results-to | /tmp/tmpdemqxklh/python-ldap-3.4.4-9.fc43.tar.xz |
time-created | 2025-04-25 15:09:53 |
time-finished | 2025-04-25 15:11:06 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpdemqxklh/python-ldap-3.4.4-9.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpdemqxklh/python-ldap-3.4.4-9.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |