gnome-online-accounts-3.50.2-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/redhat-linux-build/src/goa/goa-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/redhat-linux-build/src/goaidentity/org.gnome.Identity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/redhat-linux-build/tmp-introspectfk9jrv3i/Goa-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def4]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/redhat-linux-build/tmp-introspectfk9jrv3i/Goa-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def5]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/daemon/goadaemon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def6]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/daemon/goadaemon.c: scope_hint: In function ‘process_config_entries’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/daemon/goadaemon.c:732:13: 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.
/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.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/daemon/goadaemon.c:24: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/daemon/goadaemon.c:725:14: note: in expansion of macro ‘g_str_has_prefix’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  730|           /* create and validate object path */
#  731|           object_path = g_strdup_printf ("/org/gnome/OnlineAccounts/Accounts/%s", id);
#  732|->         if (strstr (id, "/") != NULL || !g_variant_is_object_path (object_path))
#  733|             {
#  734|               g_warning ("`%s' is not a valid account identifier", group);

Error: CPPCHECK_WARNING: [#def7]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goadavclient.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def8]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goadavclient.c:346:3: warning[deadcode.DeadStores]: Value stored to 'body' is never read
#  344|     g_debug ("goa_dav_client_check(): response (%p, %u)", msg, soup_message_get_status (msg));
#  345|   
#  346|->   body = soup_session_send_and_read_finish (session, result, &error);
#  347|   
#  348|     data = (CheckData *) g_task_get_task_data (task);

Error: CLANG_WARNING: [#def9]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goadavclient.c:588:3: warning[deadcode.DeadStores]: Value stored to 'body' is never read
#  586|     g_debug ("goa_dav_client_discover(): (%p, %u)", msg, soup_message_get_status (msg));
#  587|   
#  588|->   body = soup_session_send_and_read_finish (session, result, &error);
#  589|   
#  590|     /* There may have been error, or we may have been aborted/cancelled

Error: CPPCHECK_WARNING: [#def10]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaewsclient.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaexchangeprovider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def12]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goahttpclient.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaimapsmtpprovider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c:878: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.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372: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:1372: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.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372: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:1372: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.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/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:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/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:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/redhat-linux-build/src/goa/goa-generated.h:2708:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c: scope_hint: In function ‘ensure_credentials_sync’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/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:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/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:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/redhat-linux-build/src/goa/goa-generated.h:89:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
#  876|                                  GOA_ERROR,
#  877|                                  GOA_ERROR_NOT_AUTHORIZED,
#  878|->                                lookup_error->message);
#  879|             g_error_free (lookup_error);
#  880|             goto out;

Error: CLANG_WARNING: [#def16]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goakerberosprovider.c:1337:3: warning[deadcode.DeadStores]: Value stored to 'object_path' is never read
# 1335|       }
# 1336|   
# 1337|->   object_path = goa_kerberos_provider_sign_in_sync (self,
# 1338|                                                       identifier,
# 1339|                                                       password,

Error: CPPCHECK_WARNING: [#def17]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goamailclient.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def18]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goamailclient.c: scope_hint: In function ‘mail_client_check_event_cb’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goamailclient.c:116:5: warning[-Wdeprecated-declarations]: ‘g_tls_client_connection_set_validation_flags’ is deprecated
/usr/include/glib-2.0/gio/gio.h:165: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goamailclient.h:26: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goamailclient.c:23: included_from: Included from here.
/usr/include/glib-2.0/gio/gtlsclientconnection.h:67:23: note: declared here
#  114|     data->tls_conn = g_object_ref (connection);
#  115|     if (data->accept_ssl_errors)
#  116|->     g_tls_client_connection_set_validation_flags (G_TLS_CLIENT_CONNECTION (data->tls_conn), 0);
#  117|   
#  118|     g_signal_connect (data->tls_conn,

Error: COMPILER_WARNING (CWE-477): [#def19]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goamailclient.c: scope_hint: In function ‘mail_client_check_auth_starttls_cb’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goamailclient.c:263:5: warning[-Wdeprecated-declarations]: ‘g_tls_client_connection_set_validation_flags’ is deprecated
/usr/include/glib-2.0/gio/gtlsclientconnection.h:67:23: note: declared here
#  261|   
#  262|     if (data->accept_ssl_errors)
#  263|->     g_tls_client_connection_set_validation_flags (G_TLS_CLIENT_CONNECTION (data->tls_conn), 0);
#  264|   
#  265|     g_signal_connect (data->tls_conn,

Error: CPPCHECK_WARNING: [#def20]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaoauth2handler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def21]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaoauth2provider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def22]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaprovider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def23]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaprovider.c:844:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  842|     EnsureCredentialsData *data;
#  843|   
#  844|->   ret = FALSE;
#  845|   
#  846|     g_return_val_if_fail (GOA_IS_PROVIDER (self), FALSE);

Error: CPPCHECK_WARNING: [#def24]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goaproviderdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def25]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goautils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def26]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goautils.c:672:7: warning[deadcode.DeadStores]: Value stored to 'error_msg' is never read
#  670|       case SOUP_STATUS_INTERNAL_SERVER_ERROR:
#  671|       case SOUP_STATUS_NOT_IMPLEMENTED:
#  672|->       error_msg = g_strdup (_("Not supported"));
#  673|   
#  674|       case SOUP_STATUS_NOT_FOUND:

Error: CPPCHECK_WARNING: [#def27]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def28]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:219:19: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtkeditable.h:38:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:1004:37: note: in expansion of macro ‘GTK_EDITABLE’
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:161:12: note: in expansion of macro ‘g_str_equal’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:164:20: note: in expansion of macro ‘g_strdup’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c: scope_hint: In function ‘dav_normalize_uri’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:218:21: note: in expansion of macro ‘g_strdup’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c: scope_hint: In function ‘dav_normalize_uri’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  217|         path = g_uri_get_path (uri_out);
#  218|         pretty_path = g_strdup (path);
#  219|->       pretty_path[strlen(pretty_path) - 1] = '\0';
#  220|   
#  221|         *server = g_strconcat (g_uri_get_host (uri), (port == std_port || port == -1) ? "" : port_string, pretty_path, NULL);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def29]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:219:19: warning[-Wanalyzer-null-argument]: use of NULL ‘new_path’ where non-null expected
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtkeditable.h:38:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:1004:37: note: in expansion of macro ‘GTK_EDITABLE’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:218:21: note: in expansion of macro ‘g_strdup’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c: scope_hint: In function ‘dav_normalize_uri’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  217|         path = g_uri_get_path (uri_out);
#  218|         pretty_path = g_strdup (path);
#  219|->       pretty_path[strlen(pretty_path) - 1] = '\0';
#  220|   
#  221|         *server = g_strconcat (g_uri_get_host (uri), (port == std_port || port == -1) ? "" : port_string, pretty_path, NULL);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def30]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c: scope_hint: In function ‘dav_normalize_uri’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:219:19: warning[-Wanalyzer-null-argument]: use of NULL ‘server’ where non-null expected
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: 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.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goadavclient.h:27: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtkeditable.h:38:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:1004:37: note: in expansion of macro ‘GTK_EDITABLE’
/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.
/usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:24: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c:218:21: note: in expansion of macro ‘g_strdup’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goabackend/goawebdavprovider.c: scope_hint: In function ‘dav_normalize_uri’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  217|         path = g_uri_get_path (uri_out);
#  218|         pretty_path = g_strdup (path);
#  219|->       pretty_path[strlen(pretty_path) - 1] = '\0';
#  220|   
#  221|         *server = g_strconcat (g_uri_get_host (uri), (port == std_port || port == -1) ? "" : port_string, pretty_path, NULL);

Error: CPPCHECK_WARNING: [#def31]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goaidentityservice.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def32]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goaidentityutils.c: scope_hint: In function ‘dashed_string_to_studly_caps’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/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.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goaidentityutils.h:22: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goaidentityutils.c:21: included_from: Included from here.
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goaidentityutils.c:98:19: note: in expansion of macro ‘g_strdup’
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/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]);

Error: CPPCHECK_WARNING: [#def33]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goakerberosidentity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def34]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goakerberosidentitymanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def35]
gnome-online-accounts-3.50.2-build/gnome-online-accounts-3.50.2/src/goaidentity/goakerberosidentitymanager.c:548:3: warning[deadcode.DeadStores]: Value stored to 'error_code' is never read
#  546|     char *principal_name;
#  547|   
#  548|->   error_code = krb5_cc_get_principal (self->kerberos_context, cache, &principal);
#  549|   
#  550|     error_code = krb5_unparse_name_flags (self->kerberos_context, principal, 0, &unparsed_name);

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-192.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegnome-online-accounts-3.50.2-1.fc41
store-results-to/tmp/tmpp0n_k_43/gnome-online-accounts-3.50.2-1.fc41.tar.xz
time-created2024-07-03 12:59:38
time-finished2024-07-03 13:02:05
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpp0n_k_43/gnome-online-accounts-3.50.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpp0n_k_43/gnome-online-accounts-3.50.2-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9