Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/src/goabackend/goakerberosprovider.c:881:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lookup_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/glib/gi18n-lib.h:23: included_from: Included from here. gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/src/goabackend/goakerberosprovider.c:20: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:56:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:56:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’ /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’ /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/redhat-linux-build/src/goa/goa-generated.h:2708:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/redhat-linux-build/src/goa/goa-generated.h:2708:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/redhat-linux-build/src/goa/goa-generated.h:2708:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’ /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/redhat-linux-build/src/goa/goa-generated.h:89:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/redhat-linux-build/src/goa/goa-generated.h:89:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ gnome-online-accounts-3.51.3-build/gnome-online-accounts-3.51.3/redhat-linux-build/src/goa/goa-generated.h:89:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ # 879| GOA_ERROR, # 880| GOA_ERROR_NOT_AUTHORIZED, # 881|-> lookup_error->message); # 882| g_error_free (lookup_error); # 883| goto out;
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.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-142.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | gnome-online-accounts-3.52.1-1.fc42 |
diffbase-store-results-to | /tmp/tmpvfhkn6un/gnome-online-accounts-3.52.1-1.fc42.tar.xz |
diffbase-time-created | 2024-11-13 00:02:30 |
diffbase-time-finished | 2024-11-13 00:05:08 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpvfhkn6un/gnome-online-accounts-3.52.1-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpvfhkn6un/gnome-online-accounts-3.52.1-1.fc42.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-142.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | gnome-online-accounts-3.51.3-1.fc41 |
store-results-to | /tmp/tmppuglaf_e/gnome-online-accounts-3.51.3-1.fc41.tar.xz |
time-created | 2024-11-12 23:59:04 |
time-finished | 2024-11-13 00:02:06 |
title | Fixed findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmppuglaf_e/gnome-online-accounts-3.51.3-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmppuglaf_e/gnome-online-accounts-3.51.3-1.fc41.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |