Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
polkit-127/src/polkitagent/polkitagenthelper-pam.c:256:7: warning[-Wanalyzer-null-argument]: use of NULL ‘user_to_auth’ where non-null expected
polkit-127/src/polkitagent/polkitagenthelper-pam.c:105:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:109:3: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:117:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:130:3: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:133:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:141:7: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:141:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:182:12: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:183:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:186:7: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:209:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:216:8: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:217:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:224:8: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:225:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:237:8: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:238:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:247:8: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:248:6: branch_false: following ‘false’ branch...
polkit-127/src/polkitagent/polkitagenthelper-pam.c:256:7: branch_false: ...to here
polkit-127/src/polkitagent/polkitagenthelper-pam.c:256:7: danger: argument 2 (‘user_to_auth’) NULL where non-null expected
#  254|       }
#  255|   
#  256|->   if (strcmp (authed_user, user_to_auth) != 0)
#  257|       {
#  258|         fprintf (stderr, "polkit-agent-helper-1: Tried to auth user '%s' but we got auth for user '%s' instead",

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
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-103.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepolkit-126-6.fc43
diffbase-store-results-to/tmp/tmprzdvzrm3/polkit-126-6.fc43.tar.xz
diffbase-time-created2026-01-08 20:19:05
diffbase-time-finished2026-01-08 20:21:32
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmprzdvzrm3/polkit-126-6.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmprzdvzrm3/polkit-126-6.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-103.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepolkit-127-1.fc44
store-results-to/tmp/tmp9kuy7h4y/polkit-127-1.fc44.tar.xz
time-created2026-01-08 20:22:09
time-finished2026-01-08 20:24:08
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp9kuy7h4y/polkit-127-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9kuy7h4y/polkit-127-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9