Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
sssd-2.13.0/src/ldb_modules/memberof.c: scope_hint: In function 'mbof_append_addop'
sssd-2.13.0/src/ldb_modules/memberof.c:376:22: warning[-Wanalyzer-null-dereference]: dereference of NULL 'lastop'
/usr/include/samba-4.0/ldb.h:50: included_from: Included from here.
/usr/include/samba-4.0/ldb_module.h:36: included_from: Included from here.
sssd-2.13.0/src/ldb_modules/memberof.c:23: included_from: Included from here.
#  374|   
#  375|       if (add_ctx->add_list) {
#  376|->         lastop->next = addop;
#  377|       } else {
#  378|           add_ctx->add_list = addop;

Scan Properties

analyzer-version-clippy1.94.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.94.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.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-9.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.20260320.200800.gd35503f.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesssd-2.13.0-99.20260324200101722585.pr8547.106.ga492211a0
diffbase-store-results-to/tmp/tmpn835hpz9/sssd-2.13.0-99.20260324200101722585.pr8547.106.ga492211a0.tar.xz
diffbase-time-created2026-03-24 20:22:11
diffbase-time-finished2026-03-24 20:30:02
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpn835hpz9/sssd-2.13.0-99.20260324200101722585.pr8547.106.ga492211a0.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpn835hpz9/sssd-2.13.0-99.20260324200101722585.pr8547.106.ga492211a0.src.rpm'
diffbase-tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-9.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesssd-2.13.0-99.20260319205217037310.master.102.g5b85b647e
store-results-to/tmp/tmpg6ydwarl/sssd-2.13.0-99.20260319205217037310.master.102.g5b85b647e.tar.xz
time-created2026-03-24 20:12:54
time-finished2026-03-24 20:21:56
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpg6ydwarl/sssd-2.13.0-99.20260319205217037310.master.102.g5b85b647e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpg6ydwarl/sssd-2.13.0-99.20260319205217037310.master.102.g5b85b647e.src.rpm'
tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9