Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c: scope_hint: In function 'sdap_add_incomplete_groups' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:71:31: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sysdb_groupnames' sssd-2.13.0/src/util/util.h:45: included_from: Included from here. sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:24: included_from: Included from here. # 69| mi = 0; # 70| # 71|-> for (i=0; sysdb_groupnames[i]; i++) { # 72| subdomain = find_domain_by_object_name(domain, sysdb_groupnames[i]); # 73| if (subdomain == NULL) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] sssd-2.13.0/src/util/util.h:168: included_from: Included from here. sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c: scope_hint: In function 'sdap_initgr_store_group_memberships' sssd-2.13.0/src/util/dlinklist.h:32:31: warning[-Wanalyzer-null-dereference]: dereference of NULL 'memberships' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:1218:9: note: in expansion of macro 'DLIST_ADD' sssd-2.13.0/src/util/util.h:58: included_from: Included from here. sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:145:21: note: in expansion of macro 'DEBUG' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:156:25: note: in expansion of macro 'DEBUG' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:190:21: note: in expansion of macro 'DEBUG' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:201:21: note: in expansion of macro 'DEBUG' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:201:21: note: in expansion of macro 'DEBUG' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:201:21: note: in expansion of macro 'DEBUG' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:1218:9: note: in expansion of macro 'DLIST_ADD' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:1218:9: note: in expansion of macro 'DLIST_ADD' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:1218:9: note: in expansion of macro 'DLIST_ADD' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:1218:9: note: in expansion of macro 'DLIST_ADD' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:1218:9: note: in expansion of macro 'DLIST_ADD' sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:1218:9: note: in expansion of macro 'DLIST_ADD' # 30| if (!(list)) { \ # 31| (list) = (p); \ # 32|-> (p)->next = (p)->prev = NULL; \ # 33| } else { \ # 34| (list)->prev = (p); \
| analyzer-version-clippy | 1.93.1 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.1 |
| analyzer-version-gcc-analyzer | 16.0.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.93.1 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| diffbase-analyzer-version-gcc | 16.0.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-89.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | sssd-2.13.0-99.20260217142231964211.pr8454.49.g0e90f1628 |
| diffbase-store-results-to | /tmp/tmpt_jr7zi3/sssd-2.13.0-99.20260217142231964211.pr8454.49.g0e90f1628.tar.xz |
| diffbase-time-created | 2026-02-17 14:45:09 |
| diffbase-time-finished | 2026-02-17 14:53:26 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmpt_jr7zi3/sssd-2.13.0-99.20260217142231964211.pr8454.49.g0e90f1628.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpt_jr7zi3/sssd-2.13.0-99.20260217142231964211.pr8454.49.g0e90f1628.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20260128.181932.g41af877-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-89.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.20260119.105402.g7a5be1b.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | sssd-2.13.0-99.20260217084736643293.master.46.gad173e057 |
| store-results-to | /tmp/tmpk8p7xh5p/sssd-2.13.0-99.20260217084736643293.master.46.gad173e057.tar.xz |
| time-created | 2026-02-17 14:34:46 |
| time-finished | 2026-02-17 14:44:51 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmpk8p7xh5p/sssd-2.13.0-99.20260217084736643293.master.46.gad173e057.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpk8p7xh5p/sssd-2.13.0-99.20260217084736643293.master.46.gad173e057.src.rpm' |
| tool-version | csmock-3.8.3.20260128.181932.g41af877-1.el9 |