Newly introduced defects

List of Defects

Error: CPPCHECK_WARNING: [#def1]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gis-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-477): [#def2]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c: scope_hint: In function ‘pages_to_skip_from_file’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:129:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_new’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib.h:88: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:29: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.h:25: included_from: Included from here.
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrvbuilder.h:36:15: note: declared here
#  127|     GisDriverMode driver_mode;
#  128|     GisDriverMode other_modes;
#  129|->   g_autoptr(GStrvBuilder) builder = g_strv_builder_new();
#  130|     g_auto (GStrv) skip_pages = NULL;
#  131|     g_autofree char *mode_group = NULL;

Error: COMPILER_WARNING (CWE-477): [#def3]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:165:7: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  163|     if (skip_pages != NULL)
#  164|       {
#  165|->       g_strv_builder_addv (builder, (const char **) skip_pages);
#  166|         g_clear_pointer (&skip_pages, g_strfreev);
#  167|       }

Error: COMPILER_WARNING (CWE-477): [#def4]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:179:7: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  177|     if (skip_pages != NULL)
#  178|       {
#  179|->       g_strv_builder_addv (builder, (const char **) skip_pages);
#  180|         g_clear_pointer (&skip_pages, g_strfreev);
#  181|       }

Error: COMPILER_WARNING (CWE-477): [#def5]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:195:11: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  193|         if (skip_pages != NULL)
#  194|           {
#  195|->           g_strv_builder_addv (builder, (const char **) skip_pages);
#  196|             g_clear_pointer (&skip_pages, g_strfreev);
#  197|           }

Error: COMPILER_WARNING (CWE-477): [#def6]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:219:11: warning[-Wdeprecated-declarations]: ‘g_strv_builder_addv’ is deprecated: Not available before 2.70
/usr/include/glib-2.0/glib/gstrvbuilder.h:49:6: note: declared here
#  217|   
#  218|         if (skip_pages != NULL) {
#  219|->           g_strv_builder_addv (builder, (const char **) skip_pages);
#  220|             g_clear_pointer (&skip_pages, g_strfreev);
#  221|         }

Error: COMPILER_WARNING (CWE-477): [#def7]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:241:11: warning[-Wdeprecated-declarations]: ‘g_strv_builder_add’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:45:6: note: declared here
#  239|         for (i = 0; spoke_page_map[i].spoke_name != NULL; i++) {
#  240|           if (g_key_file_get_boolean (anaconda, spoke_page_map[i].spoke_name, "visited", NULL))
#  241|->           g_strv_builder_add (builder, spoke_page_map[i].page_name);
#  242|         }
#  243|       }

Error: COMPILER_WARNING (CWE-477): [#def8]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:246:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_end’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:61:7: note: declared here
#  244|     }
#  245|   
#  246|->   return g_strv_builder_end (builder);
#  247|   }
#  248|   

Error: COMPILER_WARNING (CWE-477): [#def9]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c: scope_hint: In function ‘write_state’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:472:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_new’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:36:15: note: declared here
#  470|     state = g_key_file_new ();
#  471|   
#  472|->   builder = g_strv_builder_new ();
#  473|   
#  474|     pages = gis_assistant_get_all_pages (assistant);

Error: COMPILER_WARNING (CWE-477): [#def10]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:477:5: warning[-Wdeprecated-declarations]: ‘g_strv_builder_add’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:45:6: note: declared here
#  475|     for (node = pages; node != NULL; node = node->next) {
#  476|       GisPage *page = node->data;
#  477|->     g_strv_builder_add (builder, GIS_PAGE_GET_CLASS (page)->page_id);
#  478|     }
#  479|   

Error: COMPILER_WARNING (CWE-477): [#def11]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/gnome-initial-setup.c:480:3: warning[-Wdeprecated-declarations]: ‘g_strv_builder_end’ is deprecated: Not available before 2.68
/usr/include/glib-2.0/glib/gstrvbuilder.h:61:7: note: declared here
#  478|     }
#  479|   
#  480|->   visited_pages = g_strv_builder_end (builder);
#  481|   
#  482|     g_key_file_set_string_list (state,

Error: COMPILER_WARNING (CWE-477): [#def12]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘gis_account_page_local_constructed’
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/account/gis-account-page-local.c:300:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead
#  300 |   g_signal_connect_swapped (gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)),
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here
#  154 | GtkWidget *   gtk_combo_box_get_child            (GtkComboBox *combo_box);
#      |               ^~~~~~~~~~~~~~~~~~~~~~~
#  298|     track_focus_out (page, page->username_combo);
#  299|   
#  300|->   g_signal_connect_swapped (gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)),
#  301|                               "activate", G_CALLBACK (confirm), page);
#  302|     g_signal_connect_swapped (page->fullname_entry, "activate",

Error: CLANG_WARNING: [#def13]
gnome-initial-setup-46.2-build/gnome-initial-setup-46.2/gnome-initial-setup/pages/language/gis-language-page.c:67:3: warning[deadcode.DeadStores]: Value stored to 'call_result' is never read
#   65|     g_autoptr(GVariant) call_result = NULL;
#   66|   
#   67|->   call_result = g_dbus_proxy_call_finish (proxy, result, &error);
#   68|   
#   69|     if (error != NULL) {

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-63.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namegnome-initial-setup-46.alpha-12.fc40
diffbase-store-results-to/tmp/tmpp6_z7_0_/gnome-initial-setup-46.alpha-12.fc40.tar.xz
diffbase-time-created2024-07-03 12:50:00
diffbase-time-finished2024-07-03 12:52:58
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpp6_z7_0_/gnome-initial-setup-46.alpha-12.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpp6_z7_0_/gnome-initial-setup-46.alpha-12.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-63.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegnome-initial-setup-46.2-1.fc41
store-results-to/tmp/tmpkzhmio38/gnome-initial-setup-46.2-1.fc41.tar.xz
time-created2024-07-03 12:53:25
time-finished2024-07-03 12:55:56
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpkzhmio38/gnome-initial-setup-46.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpkzhmio38/gnome-initial-setup-46.2-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9