Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’
gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goakerberosprovider.c:878:27: 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.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’
gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/redhat-linux-build/src/goa/goa-generated.h:2708:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/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.52.1-build/gnome-online-accounts-3.52.1/redhat-linux-build/src/goa/goa-generated.h:89:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
#  876|           {
#  877|             g_dbus_error_strip_remote_error (lookup_error);
#  878|->           if (lookup_error->domain == GOA_IDENTITY_MANAGER_ERROR)
#  879|               {
#  880|                 lookup_error->domain = GOA_ERROR;

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-142.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namegnome-online-accounts-3.51.3-1.fc41
diffbase-store-results-to/tmp/tmppuglaf_e/gnome-online-accounts-3.51.3-1.fc41.tar.xz
diffbase-time-created2024-11-12 23:59:04
diffbase-time-finished2024-11-13 00:02:06
diffbase-toolcsmock
diffbase-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'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-142.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namegnome-online-accounts-3.52.1-1.fc42
store-results-to/tmp/tmpvfhkn6un/gnome-online-accounts-3.52.1-1.fc42.tar.xz
time-created2024-11-13 00:02:30
time-finished2024-11-13 00:05:08
titleNewly introduced findings
toolcsmock
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'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9