Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
sssd-2.14.0/src/sss_client/pam_sss.c: scope_hint: In function 'prompt_multi_cert.part.0'
sssd-2.14.0/src/sss_client/pam_sss.c:2439:16: warning[-Wanalyzer-null-argument]: use of NULL 'answer' where non-null expected
sssd-2.14.0/src/sss_client/pam_sss.c:116: included_from: Included from here.
sssd-2.14.0/src/sss_client/pam_sss.c:2418:5: note: in expansion of macro 'DLIST_FOR_EACH'
sssd-2.14.0/src/sss_client/pam_sss.c:32: included_from: Included from here.
/usr/include/features.h:540: included_from: Included from here.
/usr/include/sys/types.h:25: included_from: Included from here.
sssd-2.14.0/src/sss_client/pam_sss.c:23: included_from: Included from here.
/usr/include/stdlib.h:219:17: note: argument 1 of 'strtol' must be non-null
# 2437|   
# 2438|           errno = 0;
# 2439|->         resp = strtol(answer, &ep, 10);
# 2440|           if (errno == 0 && *ep == '\0' && resp > 0 && resp <= cert_count) {
# 2441|               /* do not free answer ealier because ep is pointing to it */

Scan Properties

analyzer-version-clippy1.98.0
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.2.1
analyzer-version-gcc-analyzer16.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.98.0
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.2.1
diffbase-analyzer-version-gcc-analyzer16.2.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-227.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.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namesssd-2.14.0-99.20260826100531421141.master.349.ge047064a1
diffbase-store-results-to/tmp/tmpxgd4zcxu/sssd-2.14.0-99.20260826100531421141.master.349.ge047064a1.tar.xz
diffbase-time-created2026-08-26 15:09:26
diffbase-time-finished2026-08-26 15:21:53
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpxgd4zcxu/sssd-2.14.0-99.20260826100531421141.master.349.ge047064a1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpxgd4zcxu/sssd-2.14.0-99.20260826100531421141.master.349.ge047064a1.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260824.142338.gaf1a4e2-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-227.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesssd-2.14.0-99.20260826143928998055.pr7908.350.g67b4c3e77
store-results-to/tmp/tmp1u45w0l2/sssd-2.14.0-99.20260826143928998055.pr7908.350.g67b4c3e77.tar.xz
time-created2026-08-26 15:22:17
time-finished2026-08-26 15:33:34
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp1u45w0l2/sssd-2.14.0-99.20260826143928998055.pr7908.350.g67b4c3e77.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1u45w0l2/sssd-2.14.0-99.20260826143928998055.pr7908.350.g67b4c3e77.src.rpm'
tool-versioncsmock-3.8.7.20260824.142338.gaf1a4e2-1.el9