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; Error: COMPILER_WARNING (CWE-477): [#def2] gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goamailclient.c: scope_hint: In function ‘mail_client_check_event_cb’ gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goamailclient.c:146:5: warning[-Wdeprecated-declarations]: ‘g_tls_client_connection_set_validation_flags’ is deprecated # 146 | g_tls_client_connection_set_validation_flags (G_TLS_CLIENT_CONNECTION (data->tls_conn), 0); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gio.h:165: included_from: Included from here. /usr/include/libsoup-3.0/libsoup/soup-types.h:9: included_from: Included from here. /usr/include/libsoup-3.0/libsoup/soup-auth.h:8: included_from: Included from here. /usr/include/libsoup-3.0/libsoup/soup.h:11: included_from: Included from here. gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goasouplogger.h:26: included_from: Included from here. gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goamailclient.c:25: included_from: Included from here. /usr/include/glib-2.0/gio/gtlsclientconnection.h:67:23: note: declared here # 67 | void g_tls_client_connection_set_validation_flags (GTlsClientConnection *conn, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 144| data->tls_conn = g_object_ref (connection); # 145| if (data->accept_ssl_errors) # 146|-> g_tls_client_connection_set_validation_flags (G_TLS_CLIENT_CONNECTION (data->tls_conn), 0); # 147| # 148| g_signal_connect (data->tls_conn, Error: COMPILER_WARNING (CWE-477): [#def3] gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goamailclient.c: scope_hint: In function ‘mail_client_check_auth_starttls_cb’ gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goabackend/goamailclient.c:293:5: warning[-Wdeprecated-declarations]: ‘g_tls_client_connection_set_validation_flags’ is deprecated # 293 | g_tls_client_connection_set_validation_flags (G_TLS_CLIENT_CONNECTION (data->tls_conn), 0); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gtlsclientconnection.h:67:23: note: declared here # 67 | void g_tls_client_connection_set_validation_flags (GTlsClientConnection *conn, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 291| # 292| if (data->accept_ssl_errors) # 293|-> g_tls_client_connection_set_validation_flags (G_TLS_CLIENT_CONNECTION (data->tls_conn), 0); # 294| # 295| g_signal_connect (data->tls_conn, Error: GCC_ANALYZER_WARNING (CWE-688): [#def4] gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goaidentity/goaidentityutils.c: scope_hint: In function ‘dashed_string_to_studly_caps’ gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goaidentity/goaidentityutils.c:99:26: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goaidentity/goaidentityutils.h:22: included_from: Included from here. gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goaidentity/goaidentityutils.c:21: included_from: Included from here. gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goaidentity/goaidentityutils.c:98:19: note: in expansion of macro ‘g_strdup’ gnome-online-accounts-3.52.1-build/gnome-online-accounts-3.52.1/src/goaidentity/goaidentityutils.c: scope_hint: In function ‘dashed_string_to_studly_caps’ <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null # 97| # 98| studly_string = g_strdup (dashed_string); # 99|-> studly_string_length = strlen (studly_string); # 100| # 101| studly_string[i] = g_ascii_toupper (studly_string[i]);
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 |
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.52.1-1.fc42 |
store-results-to | /tmp/tmpvfhkn6un/gnome-online-accounts-3.52.1-1.fc42.tar.xz |
time-created | 2024-11-13 00:02:30 |
time-finished | 2024-11-13 00:05:08 |
tool | csmock |
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-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |