# polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf - findings not occurring in polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf

## List of Findings

    Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
    polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_get_admin_auth_identities’
    polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c:942:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
    #  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-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c: scope_hint: In function ‘polkit_backend_common_js_authority_check_authorization_sync’
    polkit-127-build/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-clippy | 1.92.0
analyzer-version-cppcheck | 2.18.3
analyzer-version-gcc | 15.2.1
analyzer-version-gcc-analyzer | 15.2.1
analyzer-version-shellcheck | 0.11.0
analyzer-version-unicontrol | 0.0.2
diffbase-analyzer-version-clippy | 1.92.0
diffbase-analyzer-version-cppcheck | 2.18.3
diffbase-analyzer-version-gcc | 15.2.1
diffbase-analyzer-version-gcc-analyzer | 15.2.1
diffbase-analyzer-version-shellcheck | 0.11.0
diffbase-analyzer-version-unicontrol | 0.0.2
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code | 0
diffbase-host | ip-172-16-1-93.us-west-2.compute.internal
diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-config | fedora-rawhide-x86_64
diffbase-project-name | polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf
diffbase-store-results-to | /tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz
diffbase-time-created | 2026-01-01 05:18:50
diffbase-time-finished | 2026-01-01 05:20:56
diffbase-tool | csmock
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-add-flag=-flto=auto' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.src.rpm'
diffbase-tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code | 0
host | ip-172-16-1-93.us-west-2.compute.internal
known-false-positives | /usr/share/csmock/known-false-positives.js
known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-config | fedora-rawhide-x86_64
project-name | polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf
store-results-to | /tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz
time-created | 2026-01-01 05:18:50
time-finished | 2026-01-01 05:20:56
tool | csmock
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-add-flag=-flto=auto' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.src.rpm'
tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9