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",
analyzer-version-clippy | 1.88.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.1.1 |
analyzer-version-gcc-analyzer | 15.1.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-90.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-126-1.20250716092541722458.pr576.38.g59e28f2 |
store-results-to | /tmp/tmpji4xppqh/polkit-126-1.20250716092541722458.pr576.38.g59e28f2.tar.xz |
time-created | 2025-07-16 09:40:10 |
time-finished | 2025-07-16 09:42:18 |
tool | csmock |
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-version | csmock-3.8.2-1.el9 |