Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
sssd-2.14.0/src/providers/ldap/ldap_id.c: scope_hint: In function 'get_user_and_group_groups_done'
sssd-2.14.0/src/providers/ldap/ldap_id.c:1752:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'sdap_ret'
# 1750|       }
# 1751|   
# 1752|->     if (sdap_ret == EOK) {   /* Matching group found */
# 1753|           tevent_req_done(req);
# 1754|           return;

Error: COMPILER_WARNING (CWE-457): [#def2]
sssd-2.14.0/src/providers/ldap/ldap_id.c: scope_hint: In function 'get_user_and_group_groups_done'
sssd-2.14.0/src/providers/ldap/ldap_id.c:1752:8: warning[-Wuninitialized]: 'sdap_ret' is used uninitialized
# 1752 |     if (sdap_ret == EOK) {   /* Matching group found */
#      |        ^
sssd-2.14.0/src/providers/ldap/ldap_id.c:1742:9: note: 'sdap_ret' was declared here
# 1742 |     int sdap_ret;
#      |         ^~~~~~~~
# 1750|       }
# 1751|   
# 1752|->     if (sdap_ret == EOK) {   /* Matching group found */
# 1753|           tevent_req_done(req);
# 1754|           return;

Error: COMPILER_WARNING (CWE-704): [#def3]
sssd-2.14.0/src/providers/ldap/ldap_id_subid.c:39:5: warning[-Wlto-type-mismatch]: type of 'users_get_recv' does not match original declaration
#   39 | int users_get_recv(struct tevent_req *req);
#      |     ^
sssd-2.14.0/src/providers/ldap/ldap_id.c:617:5: note: type mismatch in parameter 2
#  617 | int users_get_recv(struct tevent_req *req, int *sdap_ret)
#      |     ^
sssd-2.14.0/src/providers/ldap/ldap_id.c:617:5: note: 'users_get_recv' was previously declared here
#   37|                                     bool noexist_delete,
#   38|                                     bool set_non_posix);
#   39|-> int users_get_recv(struct tevent_req *req);
#   40|   
#   41|   static int subid_ranges_get_retry(struct tevent_req *req);

Scan Properties

analyzer-version-clippy1.96.0
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.96.0
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-85.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesssd-2.14.0-99.20260629182109315099.master.270.gb59de87a8
diffbase-store-results-to/tmp/tmppegox9nn/sssd-2.14.0-99.20260629182109315099.master.270.gb59de87a8.tar.xz
diffbase-time-created2026-06-30 15:12:34
diffbase-time-finished2026-06-30 15:22:36
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmppegox9nn/sssd-2.14.0-99.20260629182109315099.master.270.gb59de87a8.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmppegox9nn/sssd-2.14.0-99.20260629182109315099.master.270.gb59de87a8.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-85.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesssd-2.14.0-99.20260630150323049771.pr8848.279.g70974422a
store-results-to/tmp/tmp41royjz_/sssd-2.14.0-99.20260630150323049771.pr8848.279.g70974422a.tar.xz
time-created2026-06-30 15:23:17
time-finished2026-06-30 15:32:45
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmp41royjz_/sssd-2.14.0-99.20260630150323049771.pr8848.279.g70974422a.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp41royjz_/sssd-2.14.0-99.20260630150323049771.pr8848.279.g70974422a.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9