Task #108298 - polkit-127-1.20260408074123673968.pr649.20.ge3bb8d1/scan-results.err
back to task #108298download
Error: GCC_ANALYZER_WARNING (CWE-476):
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):
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",