polkit-127-1.20260330075609304840.main.11.ga446e4a

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_get_admin_auth_identities’
polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c:942:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here.
polkit-127/src/polkitbackend/polkitbackendcommon.h:39: included_from: Included from here.
polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c:26: included_from: Included from here.
#  940|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))
#  941|       {
#  942|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  943|                                       LOG_LEVEL_ERROR,
#  944|                                       "Error converting subject to JS object: %s",

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_check_authorization_sync’
polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c:1024:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
# 1022|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))
# 1023|       {
# 1024|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
# 1025|                                       LOG_LEVEL_ERROR,
# 1026|                                       "Error converting subject to JS object: %s",

Scan Properties

analyzer-version-clippy1.94.1
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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-238.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-namepolkit-127-1.20260330075609304840.main.11.ga446e4a
store-results-to/tmp/tmpog467a61/polkit-127-1.20260330075609304840.main.11.ga446e4a.tar.xz
time-created2026-04-11 11:07:25
time-finished2026-04-11 11:10:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpog467a61/polkit-127-1.20260330075609304840.main.11.ga446e4a.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-add-flag=-flto=auto' '/tmp/tmpog467a61/polkit-127-1.20260330075609304840.main.11.ga446e4a.src.rpm'
tool-versioncsmock-3.8.5-1.el9