polkit-126-1.20250716092541722458.pr576.38.g59e28f2

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
polkit-126/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_get_admin_auth_identities’
polkit-126/src/polkitbackend/polkitbackendduktapeauthority.c:938:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  936|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))
#  937|       {
#  938|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
#  939|                                       LOG_LEVEL_ERROR,
#  940|                                       "Error converting subject to JS object: %s",

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

Scan Properties

analyzer-version-clippy1.88.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.1.1
analyzer-version-gcc-analyzer15.1.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-90.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-126-1.20250716092541722458.pr576.38.g59e28f2
store-results-to/tmp/tmpji4xppqh/polkit-126-1.20250716092541722458.pr576.38.g59e28f2.tar.xz
time-created2025-07-16 09:40:10
time-finished2025-07-16 09:42:18
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,gcc,shellcheck,cppcheck,unicontrol' '-o' '/tmp/tmpji4xppqh/polkit-126-1.20250716092541722458.pr576.38.g59e28f2.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-add-flag=-flto=auto' '/tmp/tmpji4xppqh/polkit-126-1.20250716092541722458.pr576.38.g59e28f2.src.rpm'
tool-versioncsmock-3.8.2-1.el9