Error: GCC_ANALYZER_WARNING (CWE-457): [#def1] xdg-desktop-portal-gnome-49.0/redhat-linux-build/src/shell-dbus.h:1478:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘proxy’ xdg-desktop-portal-gnome-49.0/src/displaystatetracker.c:462:1: enter_function: entry to ‘on_display_config_proxy_acquired’ xdg-desktop-portal-gnome-49.0/src/displaystatetracker.c:472:11: throw: if ‘org_gnome_mutter_display_config_proxy_new_for_bus_finish’ throws an exception... xdg-desktop-portal-gnome-49.0/src/displaystatetracker.c:468:21: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘on_display_config_proxy_acquired’ xdg-desktop-portal-gnome-49.0/src/displaystatetracker.c:467:42: call_function: inlined call to ‘glib_autoptr_cleanup_OrgGnomeMutterDisplayConfig’ from ‘on_display_config_proxy_acquired’ # 1476| # 1477| #if GLIB_CHECK_VERSION(2, 44, 0) # 1478|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgGnomeMutterDisplayConfig, g_object_unref) # 1479| #endif # 1480| Error: GCC_ANALYZER_WARNING (CWE-457): [#def2] xdg-desktop-portal-gnome-49.0/redhat-linux-build/src/xdg-desktop-portal-dbus.h:3868:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘delegate_request’ xdg-desktop-portal-gnome-49.0/src/filechooser.c:271:1: enter_function: entry to ‘handle_close’ xdg-desktop-portal-gnome-49.0/src/filechooser.c:288:6: branch_false: following ‘false’ branch... xdg-desktop-portal-gnome-49.0/src/filechooser.c:294:10: branch_false: ...to here xdg-desktop-portal-gnome-49.0/src/filechooser.c:294:10: throw: if ‘g_malloc0’ throws an exception... xdg-desktop-portal-gnome-49.0/src/filechooser.c:276:21: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘handle_close’ xdg-desktop-portal-gnome-49.0/src/filechooser.c:275:29: call_function: inlined call to ‘glib_autoptr_cleanup_XdpImplRequest’ from ‘handle_close’ # 3866| # 3867| #if GLIB_CHECK_VERSION(2, 44, 0) # 3868|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (XdpImplRequest, g_object_unref) # 3869| #endif # 3870| Error: GCC_ANALYZER_WARNING (CWE-457): [#def3] xdg-desktop-portal-gnome-49.0/redhat-linux-build/subprojects/libgxdp/src/gxdp-dbus.h:42:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘proxy’ xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-wayland.c:94:1: enter_function: entry to ‘gxdp_wayland_init’ xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-wayland.c:112:6: branch_false: following ‘false’ branch... xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-wayland.c:120:8: branch_false: ...to here xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-wayland.c:102:20: call_function: calling ‘g_autoptr_cleanup_generic_gfree’ from ‘gxdp_wayland_init’ xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-wayland.c:100:26: call_function: inlined call to ‘glib_autoptr_cleanup_GUnixFDList’ from ‘gxdp_wayland_init’ xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-wayland.c:99:23: call_function: inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘gxdp_wayland_init’ xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-wayland.c:98:43: call_function: inlined call to ‘glib_autoptr_cleanup_GxdpDBusMutterServiceChannel’ from ‘gxdp_wayland_init’ # 40| # 41| #if GLIB_CHECK_VERSION(2, 44, 0) # 42|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (GxdpDBusMutterServiceChannel, g_object_unref) # 43| #endif # 44| Error: COMPILER_WARNING (CWE-477): [#def4] xdg-desktop-portal-gnome-49.0/src/access.c: scope_hint: In function ‘create_access_dialog’ xdg-desktop-portal-gnome-49.0/src/access.c:213:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_new’ is deprecated: Use 'adw_alert_dialog_new' instead # 213 | dialog = adw_message_dialog_new (GTK_WINDOW (fake_parent), title, subtitle); # | ^~~~~~ /usr/include/libadwaita-1/adwaita.h:63: included_from: Included from here. xdg-desktop-portal-gnome-49.0/src/access.c:5: included_from: Included from here. /usr/include/libadwaita-1/adw-message-dialog.h:40:12: note: declared here # 40 | GtkWidget *adw_message_dialog_new (GtkWindow *parent, # | ^~~~~~~~~~~~~~~~~~~~~~ # 211| g_object_ref_sink (fake_parent); # 212| # 213|-> dialog = adw_message_dialog_new (GTK_WINDOW (fake_parent), title, subtitle); # 214| gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (fake_parent)); # 215| gtk_window_set_default_size (GTK_WINDOW (dialog), 450, 200); Error: COMPILER_WARNING (CWE-477): [#def5] xdg-desktop-portal-gnome-49.0/src/access.c:213:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_new’ is deprecated: Use 'adw_alert_dialog_new' instead # 211| g_object_ref_sink (fake_parent); # 212| # 213|-> dialog = adw_message_dialog_new (GTK_WINDOW (fake_parent), title, subtitle); # 214| gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (fake_parent)); # 215| gtk_window_set_default_size (GTK_WINDOW (dialog), 450, 200); Error: COMPILER_WARNING (CWE-477): [#def6] xdg-desktop-portal-gnome-49.0/src/access.c:218:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_responses’ is deprecated: Use 'adw_alert_dialog_add_responses' instead # 218 | adw_message_dialog_add_responses (ADW_MESSAGE_DIALOG (dialog), # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libadwaita-1/adw-message-dialog.h:104:6: note: declared here # 104 | void adw_message_dialog_add_responses (AdwMessageDialog *self, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 216| gtk_window_set_modal (GTK_WINDOW (dialog), modal); # 217| # 218|-> adw_message_dialog_add_responses (ADW_MESSAGE_DIALOG (dialog), # 219| "deny", deny_label, # 220| "grant", grant_label, Error: COMPILER_WARNING (CWE-477): [#def7] xdg-desktop-portal-gnome-49.0/src/access.c:218:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_responses’ is deprecated: Use 'adw_alert_dialog_add_responses' instead # 216| gtk_window_set_modal (GTK_WINDOW (dialog), modal); # 217| # 218|-> adw_message_dialog_add_responses (ADW_MESSAGE_DIALOG (dialog), # 219| "deny", deny_label, # 220| "grant", grant_label, Error: COMPILER_WARNING (CWE-477): [#def8] xdg-desktop-portal-gnome-49.0/src/access.c:223:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead # 223 | adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (dialog), "deny"); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libadwaita-1/adw-message-dialog.h:135:13: note: declared here # 135 | void adw_message_dialog_set_default_response (AdwMessageDialog *self, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 221| NULL); # 222| # 223|-> adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (dialog), "deny"); # 224| # 225| extra = adw_preferences_group_new (); Error: COMPILER_WARNING (CWE-477): [#def9] xdg-desktop-portal-gnome-49.0/src/access.c:223:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead # 221| NULL); # 222| # 223|-> adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (dialog), "deny"); # 224| # 225| extra = adw_preferences_group_new (); Error: COMPILER_WARNING (CWE-477): [#def10] xdg-desktop-portal-gnome-49.0/src/access.c:226:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_extra_child’ is deprecated: Use 'adw_alert_dialog_set_extra_child' instead # 226 | adw_message_dialog_set_extra_child (ADW_MESSAGE_DIALOG (dialog), extra); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libadwaita-1/adw-message-dialog.h:91:12: note: declared here # 91 | void adw_message_dialog_set_extra_child (AdwMessageDialog *self, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 224| # 225| extra = adw_preferences_group_new (); # 226|-> adw_message_dialog_set_extra_child (ADW_MESSAGE_DIALOG (dialog), extra); # 227| # 228| if (choices) Error: COMPILER_WARNING (CWE-477): [#def11] xdg-desktop-portal-gnome-49.0/src/access.c:226:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_extra_child’ is deprecated: Use 'adw_alert_dialog_set_extra_child' instead # 224| # 225| extra = adw_preferences_group_new (); # 226|-> adw_message_dialog_set_extra_child (ADW_MESSAGE_DIALOG (dialog), extra); # 227| # 228| if (choices) Error: COMPILER_WARNING (CWE-477): [#def12] xdg-desktop-portal-gnome-49.0/src/accountdialog.c: scope_hint: In function ‘file_chooser_response’ xdg-desktop-portal-gnome-49.0/src/accountdialog.c:128:3: warning[-Wdeprecated-declarations]: ‘gtk_file_chooser_get_file’ is deprecated # 128 | file = gtk_file_chooser_get_file (GTK_FILE_CHOOSER (widget)); # | ^~~~ /usr/include/gtk-4.0/gtk/gtk.h:131: included_from: Included from here. /usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here. xdg-desktop-portal-gnome-49.0/src/accountdialog.c:5: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkfilechooser.h:123:22: note: declared here # 123 | GFile * gtk_file_chooser_get_file (GtkFileChooser *chooser); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 126| g_autofree char *path = NULL; # 127| # 128|-> file = gtk_file_chooser_get_file (GTK_FILE_CHOOSER (widget)); # 129| path = file ? g_file_get_path (file) : NULL; # 130| Error: COMPILER_WARNING (CWE-477): [#def13] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:128:3: warning[-Wdeprecated-declarations]: ‘gtk_file_chooser_get_file’ is deprecated # 126| g_autofree char *path = NULL; # 127| # 128|-> file = gtk_file_chooser_get_file (GTK_FILE_CHOOSER (widget)); # 129| path = file ? g_file_get_path (file) : NULL; # 130| Error: COMPILER_WARNING (CWE-477): [#def14] xdg-desktop-portal-gnome-49.0/src/accountdialog.c: scope_hint: In function ‘image_button_clicked’ xdg-desktop-portal-gnome-49.0/src/accountdialog.c:159:3: warning[-Wdeprecated-declarations]: ‘gtk_file_chooser_dialog_new’ is deprecated # 159 | chooser = gtk_file_chooser_dialog_new (_("Select an Image"), # | ^~~~~~~ /usr/include/gtk-4.0/gtk/gtk.h:132: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkfilechooserdialog.h:39:12: note: declared here # 39 | GtkWidget *gtk_file_chooser_dialog_new (const char *title, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # 157| GtkFileFilter *filter; # 158| # 159|-> chooser = gtk_file_chooser_dialog_new (_("Select an Image"), # 160| GTK_WINDOW (dialog), # 161| GTK_FILE_CHOOSER_ACTION_OPEN, Error: COMPILER_WARNING (CWE-477): [#def15] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:159:3: warning[-Wdeprecated-declarations]: ‘gtk_file_chooser_dialog_new’ is deprecated # 157| GtkFileFilter *filter; # 158| # 159|-> chooser = gtk_file_chooser_dialog_new (_("Select an Image"), # 160| GTK_WINDOW (dialog), # 161| GTK_FILE_CHOOSER_ACTION_OPEN, Error: COMPILER_WARNING (CWE-477): [#def16] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:168:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_set_default_response’ is deprecated # 168 | gtk_dialog_set_default_response (GTK_DIALOG (chooser), GTK_RESPONSE_OK); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkappchooserdialog.h:31: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:44: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkdialog.h:161:6: note: declared here # 161 | void gtk_dialog_set_default_response (GtkDialog *dialog, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 166| gtk_window_set_modal (GTK_WINDOW (chooser), TRUE); # 167| # 168|-> gtk_dialog_set_default_response (GTK_DIALOG (chooser), GTK_RESPONSE_OK); # 169| # 170| filter = gtk_file_filter_new (); Error: COMPILER_WARNING (CWE-477): [#def17] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:168:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_set_default_response’ is deprecated # 166| gtk_window_set_modal (GTK_WINDOW (chooser), TRUE); # 167| # 168|-> gtk_dialog_set_default_response (GTK_DIALOG (chooser), GTK_RESPONSE_OK); # 169| # 170| filter = gtk_file_filter_new (); Error: COMPILER_WARNING (CWE-477): [#def18] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:172:3: warning[-Wdeprecated-declarations]: ‘gtk_file_filter_add_pixbuf_formats’ is deprecated # 172 | gtk_file_filter_add_pixbuf_formats (filter); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkfilechooser.h:25: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtkfilefilter.h:60:17: note: declared here # 60 | void gtk_file_filter_add_pixbuf_formats (GtkFileFilter *filter); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 170| filter = gtk_file_filter_new (); # 171| gtk_file_filter_set_name (filter, _("Images")); # 172|-> gtk_file_filter_add_pixbuf_formats (filter); # 173| gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), filter); # 174| Error: COMPILER_WARNING (CWE-477): [#def19] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:172:3: warning[-Wdeprecated-declarations]: ‘gtk_file_filter_add_pixbuf_formats’ is deprecated # 170| filter = gtk_file_filter_new (); # 171| gtk_file_filter_set_name (filter, _("Images")); # 172|-> gtk_file_filter_add_pixbuf_formats (filter); # 173| gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), filter); # 174| Error: COMPILER_WARNING (CWE-477): [#def20] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:173:3: warning[-Wdeprecated-declarations]: ‘gtk_file_chooser_add_filter’ is deprecated # 173 | gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), filter); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkfilechooser.h:140:22: note: declared here # 140 | void gtk_file_chooser_add_filter (GtkFileChooser *chooser, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # 171| gtk_file_filter_set_name (filter, _("Images")); # 172| gtk_file_filter_add_pixbuf_formats (filter); # 173|-> gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), filter); # 174| # 175| g_signal_connect (chooser, "response", G_CALLBACK (file_chooser_response), dialog); Error: COMPILER_WARNING (CWE-477): [#def21] xdg-desktop-portal-gnome-49.0/src/accountdialog.c:173:3: warning[-Wdeprecated-declarations]: ‘gtk_file_chooser_add_filter’ is deprecated # 171| gtk_file_filter_set_name (filter, _("Images")); # 172| gtk_file_filter_add_pixbuf_formats (filter); # 173|-> gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (chooser), filter); # 174| # 175| g_signal_connect (chooser, "response", G_CALLBACK (file_chooser_response), dialog); Error: COMPILER_WARNING (CWE-477): [#def22] xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c: scope_hint: In function ‘show_error_dialog’ xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c:175:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_new’ is deprecated: Use 'adw_alert_dialog_new' instead # 175 | message_dialog = adw_message_dialog_new (parent, primary, secondary); # | ^~~~~~~~~~~~~~ /usr/include/libadwaita-1/adwaita.h:63: included_from: Included from here. xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c:27: included_from: Included from here. /usr/include/libadwaita-1/adw-message-dialog.h:40:12: note: declared here # 40 | GtkWidget *adw_message_dialog_new (GtkWindow *parent, # | ^~~~~~~~~~~~~~~~~~~~~~ # 173| GtkWidget *message_dialog; # 174| # 175|-> message_dialog = adw_message_dialog_new (parent, primary, secondary); # 176| adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message_dialog), "ok", _("_OK")); # 177| adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (message_dialog), "ok"); Error: COMPILER_WARNING (CWE-477): [#def23] xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c:175:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_new’ is deprecated: Use 'adw_alert_dialog_new' instead # 173| GtkWidget *message_dialog; # 174| # 175|-> message_dialog = adw_message_dialog_new (parent, primary, secondary); # 176| adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message_dialog), "ok", _("_OK")); # 177| adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (message_dialog), "ok"); Error: COMPILER_WARNING (CWE-477): [#def24] xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c:176:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_response’ is deprecated: Use 'adw_alert_dialog_add_response' instead # 176 | adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message_dialog), "ok", _("_OK")); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libadwaita-1/adw-message-dialog.h:95:6: note: declared here # 95 | void adw_message_dialog_add_response (AdwMessageDialog *self, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 174| # 175| message_dialog = adw_message_dialog_new (parent, primary, secondary); # 176|-> adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message_dialog), "ok", _("_OK")); # 177| adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (message_dialog), "ok"); # 178| gtk_window_present (GTK_WINDOW (message_dialog)); Error: COMPILER_WARNING (CWE-477): [#def25] xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c:176:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_response’ is deprecated: Use 'adw_alert_dialog_add_response' instead # 174| # 175| message_dialog = adw_message_dialog_new (parent, primary, secondary); # 176|-> adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message_dialog), "ok", _("_OK")); # 177| adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (message_dialog), "ok"); # 178| gtk_window_present (GTK_WINDOW (message_dialog)); Error: COMPILER_WARNING (CWE-477): [#def26] xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c:177:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead # 177 | adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (message_dialog), "ok"); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libadwaita-1/adw-message-dialog.h:135:13: note: declared here # 135 | void adw_message_dialog_set_default_response (AdwMessageDialog *self, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 175| message_dialog = adw_message_dialog_new (parent, primary, secondary); # 176| adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message_dialog), "ok", _("_OK")); # 177|-> adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (message_dialog), "ok"); # 178| gtk_window_present (GTK_WINDOW (message_dialog)); # 179| } Error: COMPILER_WARNING (CWE-477): [#def27] xdg-desktop-portal-gnome-49.0/src/appchooserdialog.c:177:3: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead # 175| message_dialog = adw_message_dialog_new (parent, primary, secondary); # 176| adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message_dialog), "ok", _("_OK")); # 177|-> adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG (message_dialog), "ok"); # 178| gtk_window_present (GTK_WINDOW (message_dialog)); # 179| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def28] xdg-desktop-portal-gnome-49.0/src/clipboard.c:262:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out_fd_id’ # 260| # 261| out: # 262|-> xdp_impl_clipboard_complete_selection_write (object, # 263| invocation, # 264| out_fd_list, Error: COMPILER_WARNING (CWE-457): [#def29] xdg-desktop-portal-gnome-49.0/src/clipboard.c: scope_hint: In function ‘handle_selection_write’ xdg-desktop-portal-gnome-49.0/src/clipboard.c:262:3: warning[-Wmaybe-uninitialized]: ‘out_fd_id’ may be used uninitialized # 262 | xdp_impl_clipboard_complete_selection_write (object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 263 | invocation, # | ~~~~~~~~~~~ # 264 | out_fd_list, # | ~~~~~~~~~~~~ # 265 | g_variant_new_handle (out_fd_id)); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdg-desktop-portal-gnome-49.0/src/clipboard.c:214:7: note: ‘out_fd_id’ was declared here # 214 | int out_fd_id; # | ^~~~~~~~~ # 260| # 261| out: # 262|-> xdp_impl_clipboard_complete_selection_write (object, # 263| invocation, # 264| out_fd_list, Error: GCC_ANALYZER_WARNING (CWE-457): [#def30] xdg-desktop-portal-gnome-49.0/src/clipboard.c:372:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fd’ # 370| # 371| out: # 372|-> xdp_impl_clipboard_complete_selection_read (object, invocation, out_fd_list, fd); # 373| return TRUE; # 374| } Error: COMPILER_WARNING (CWE-477): [#def31] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c: scope_hint: In function ‘handle_prepare_install’ xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:255:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_new_with_buttons’ is deprecated # 255 | dialog = GTK_WINDOW (gtk_dialog_new_with_buttons (title, # | ^~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkappchooserdialog.h:31: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:44: included_from: Included from here. xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:27: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkdialog.h:137:12: note: declared here # 137 | GtkWidget* gtk_dialog_new_with_buttons (const char *title, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # 253| # 254| /* Show dialog with icon, title. */ # 255|-> dialog = GTK_WINDOW (gtk_dialog_new_with_buttons (title, # 256| GTK_WINDOW (fake_parent), # 257| dialog_flags, Error: COMPILER_WARNING (CWE-477): [#def32] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:255:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_new_with_buttons’ is deprecated # 253| # 254| /* Show dialog with icon, title. */ # 255|-> dialog = GTK_WINDOW (gtk_dialog_new_with_buttons (title, # 256| GTK_WINDOW (fake_parent), # 257| dialog_flags, Error: COMPILER_WARNING (CWE-477): [#def33] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:264:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_get_content_area’ is deprecated # 264 | content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); # | ^~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkdialog.h:176:13: note: declared here # 176 | GtkWidget * gtk_dialog_get_content_area (GtkDialog *dialog); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # 262| NULL)); # 263| # 264|-> content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); # 265| # 266| box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); Error: COMPILER_WARNING (CWE-477): [#def34] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:264:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_get_content_area’ is deprecated # 262| NULL)); # 263| # 264|-> content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); # 265| # 266| box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); Error: COMPILER_WARNING (CWE-477): [#def35] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:290:3: warning[-Wdeprecated-declarations]: ‘gtk_image_set_from_pixbuf’ is deprecated: Use 'gtk_image_set_from_paintable' instead # 290 | gtk_image_set_from_pixbuf (GTK_IMAGE (image), pixbuf); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:40: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:95: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtkimage.h:95:6: note: declared here # 95 | void gtk_image_set_from_pixbuf (GtkImage *image, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 288| goto err; # 289| } # 290|-> gtk_image_set_from_pixbuf (GTK_IMAGE (image), pixbuf); # 291| # 292| entry = gtk_entry_new (); Error: COMPILER_WARNING (CWE-477): [#def36] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:290:3: warning[-Wdeprecated-declarations]: ‘gtk_image_set_from_pixbuf’ is deprecated: Use 'gtk_image_set_from_paintable' instead # 288| goto err; # 289| } # 290|-> gtk_image_set_from_pixbuf (GTK_IMAGE (image), pixbuf); # 291| # 292| entry = gtk_entry_new (); Error: COMPILER_WARNING (CWE-477): [#def37] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:315:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_set_default_response’ is deprecated # 315 | gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkdialog.h:161:6: note: declared here # 161 | void gtk_dialog_set_default_response (GtkDialog *dialog, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 313| } # 314| # 315|-> gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); # 316| # 317| window_group = gtk_window_group_new (); Error: COMPILER_WARNING (CWE-477): [#def38] xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:315:3: warning[-Wdeprecated-declarations]: ‘gtk_dialog_set_default_response’ is deprecated # 313| } # 314| # 315|-> gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); # 316| # 317| window_group = gtk_window_group_new (); Error: GCC_ANALYZER_WARNING (CWE-457): [#def39] xdg-desktop-portal-gnome-49.0/src/globalshortcuts.c:98:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘handle’ xdg-desktop-portal-gnome-49.0/src/globalshortcuts.c:551:1: enter_function: entry to ‘settings_bind_shortcuts_done’ xdg-desktop-portal-gnome-49.0/src/globalshortcuts.c:577:6: branch_true: following ‘true’ branch... xdg-desktop-portal-gnome-49.0/src/globalshortcuts.c:579:7: branch_true: ...to here xdg-desktop-portal-gnome-49.0/src/globalshortcuts.c:558:23: call_function: inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘settings_bind_shortcuts_done’ xdg-desktop-portal-gnome-49.0/src/globalshortcuts.c:556:34: call_function: inlined call to ‘glib_autoptr_cleanup_BindShortcutsHandle’ from ‘settings_bind_shortcuts_done’ # 96| } # 97| # 98|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (BindShortcutsHandle, shortcuts_handle_free); # 99| # 100| static void Error: GCC_ANALYZER_WARNING (CWE-404): [#def40] xdg-desktop-portal-gnome-49.0/src/inputcapture.c:135:22: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ xdg-desktop-portal-gnome-49.0/src/inputcapture.c:134:3: acquire_resource: ‘va_start’ called here xdg-desktop-portal-gnome-49.0/src/inputcapture.c:135:22: throw: if ‘g_variant_new_va’ throws an exception... xdg-desktop-portal-gnome-49.0/src/inputcapture.c:135:22: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) # 133| # 134| va_start (args, argument_format); # 135|-> argument_variant = g_variant_new_va (argument_format, NULL, &args); # 136| va_end (args); # 137| Error: GCC_ANALYZER_WARNING (CWE-457): [#def41] xdg-desktop-portal-gnome-49.0/src/inputcapture.h:33:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘zones’ xdg-desktop-portal-gnome-49.0/src/inputcapture.c:549:1: enter_function: entry to ‘handle_get_zones’ xdg-desktop-portal-gnome-49.0/src/inputcapture.c:567:3: throw: if ‘g_variant_builder_init’ throws an exception... xdg-desktop-portal-gnome-49.0/src/inputcapture.c:563:21: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘handle_get_zones’ xdg-desktop-portal-gnome-49.0/src/inputcapture.c:562:32: call_function: inlined call to ‘glib_listautoptr_cleanup_InputCaptureZone’ from ‘handle_get_zones’ # 31| } InputCaptureZone; # 32| # 33|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (InputCaptureZone, g_free); # 34| # 35| gboolean input_capture_init (GDBusConnection *connection, Error: COMPILER_WARNING (CWE-477): [#def42] xdg-desktop-portal-gnome-49.0/src/print.c: scope_hint: In function ‘handle_prepare_print’ xdg-desktop-portal-gnome-49.0/src/print.c:727:7: warning[-Wdeprecated-declarations]: ‘gtk_dialog_get_widget_for_response’ is deprecated # 727 | GtkWidget *button = gtk_dialog_get_widget_for_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); # | ^~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkappchooserdialog.h:31: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:44: included_from: Included from here. xdg-desktop-portal-gnome-49.0/src/print.c:28: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkdialog.h:164:12: note: declared here # 164 | GtkWidget* gtk_dialog_get_widget_for_response (GtkDialog *dialog, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 725| if (g_variant_lookup (arg_options, "accept_label", "&s", &accept_label)) # 726| { # 727|-> GtkWidget *button = gtk_dialog_get_widget_for_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); # 728| gtk_button_set_label (GTK_BUTTON (button), accept_label); # 729| } Error: COMPILER_WARNING (CWE-477): [#def43] xdg-desktop-portal-gnome-49.0/src/print.c:727:7: warning[-Wdeprecated-declarations]: ‘gtk_dialog_get_widget_for_response’ is deprecated # 725| if (g_variant_lookup (arg_options, "accept_label", "&s", &accept_label)) # 726| { # 727|-> GtkWidget *button = gtk_dialog_get_widget_for_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); # 728| gtk_button_set_label (GTK_BUTTON (button), accept_label); # 729| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def44] xdg-desktop-portal-gnome-49.0/src/request.h:46:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘request’ xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:170:1: enter_function: entry to ‘handle_prepare_install’ xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:224:6: branch_true: following ‘true’ branch... xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:225:12: branch_true: ...to here xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:226:6: branch_false: following ‘false’ branch... xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:226:17: branch_false: ...to here xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:285:6: branch_false: following ‘false’ branch... xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:290:3: branch_false: ...to here xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:298:6: branch_false: following ‘false’ branch... xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:315:3: branch_false: ...to here xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:329:6: branch_false: following ‘false’ branch (when ‘external_parent’ is NULL)... xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:332:3: branch_false: ...to here xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:196:24: call_function: inlined call to ‘glib_autoptr_cleanup_GdkPixbuf’ from ‘handle_prepare_install’ xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:195:20: call_function: inlined call to ‘glib_autoptr_cleanup_GIcon’ from ‘handle_prepare_install’ xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:193:23: call_function: inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘handle_prepare_install’ xdg-desktop-portal-gnome-49.0/src/dynamic-launcher.c:180:22: call_function: inlined call to ‘glib_autoptr_cleanup_Request’ from ‘handle_prepare_install’ # 44| GType request_get_type (void) G_GNUC_CONST; # 45| # 46|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (Request, g_object_unref) # 47| # 48| Request *request_new (const char *sender, Error: COMPILER_WARNING (CWE-457): [#def45] xdg-desktop-portal-gnome-49.0/src/screencast.c: scope_hint: In function ‘serialize_screen_cast_streams_as_restore_data’ xdg-desktop-portal-gnome-49.0/src/screencast.c:155:7: warning[-Wmaybe-uninitialized]: ‘stream_variant’ may be used uninitialized # 155 | g_variant_builder_add (impl_builder, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 156 | "(uuv)", # | ~~~~~~~~ # 157 | info->id, # | ~~~~~~~~~ # 158 | info->type, # | ~~~~~~~~~~~ # 159 | stream_variant); # | ~~~~~~~~~~~~~~~ xdg-desktop-portal-gnome-49.0/src/screencast.c:127:17: note: ‘stream_variant’ was declared here # 127 | GVariant *stream_variant; # | ^~~~~~~~~~~~~~ # 153| } # 154| # 155|-> g_variant_builder_add (impl_builder, # 156| "(uuv)", # 157| info->id, Error: GCC_ANALYZER_WARNING (CWE-688): [#def46] xdg-desktop-portal-gnome-49.0/src/screencastwidget.c:213:22: warning[-Wanalyzer-null-argument]: use of NULL ‘processed_app_id’ where non-null expected xdg-desktop-portal-gnome-49.0/src/screencastwidget.c:199:1: enter_function: entry to ‘should_show_window’ xdg-desktop-portal-gnome-49.0/src/screencastwidget.c:203:20: release_memory: ‘processed_app_id’ is NULL xdg-desktop-portal-gnome-49.0/src/screencastwidget.c:212:7: branch_true: following ‘true’ branch... xdg-desktop-portal-gnome-49.0/src/screencastwidget.c:213:22: danger: argument 1 (‘<unknown>’) NULL where non-null expected # 211| processed_app_id = g_strdup (shell_window_get_app_id (window)); # 212| if (g_str_has_suffix (processed_app_id, ".desktop")) # 213|-> processed_app_id[strlen (processed_app_id) - # 214| strlen (".desktop")] = '\0'; # 215| Error: GCC_ANALYZER_WARNING (CWE-457): [#def47] xdg-desktop-portal-gnome-49.0/src/shellintrospect.h:29:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘selected_windows’ xdg-desktop-portal-gnome-49.0/src/screencastwidget.c:699:5: throw: if ‘g_ptr_array_new_with_free_func’ throws an exception... xdg-desktop-portal-gnome-49.0/src/screencastwidget.c:694:27: call_function: inlined call to ‘glib_listautoptr_cleanup_ShellWindow’ from ‘screen_cast_widget_get_selected_streams’ # 27| SHELL, INTROSPECT, GObject) # 28| # 29|-> G_DECLARE_FINAL_TYPE (ShellWindow, shell_window, SHELL, WINDOW, GObject) # 30| # 31| #define SHELL_TYPE_WINDOW shell_window_get_type() Error: COMPILER_WARNING (CWE-477): [#def48] xdg-desktop-portal-gnome-49.0/src/wallpaperpreview.c: scope_hint: In function ‘draw_preview_func’ xdg-desktop-portal-gnome-49.0/src/wallpaperpreview.c:85:3: warning[-Wdeprecated-declarations]: ‘gdk_cairo_set_source_pixbuf’ is deprecated # 85 | gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gdk/gdk.h:30: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:30: included_from: Included from here. xdg-desktop-portal-gnome-49.0/src/wallpaperpreview.c:30: included_from: Included from here. /usr/include/gtk-4.0/gdk/gdkcairo.h:34:12: note: declared here # 34 | void gdk_cairo_set_source_pixbuf (cairo_t *cr, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # 83| width, # 84| height); # 85|-> gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0); # 86| cairo_paint (cr); # 87| } Error: COMPILER_WARNING (CWE-477): [#def49] xdg-desktop-portal-gnome-49.0/src/wallpaperpreview.c:85:3: warning[-Wdeprecated-declarations]: ‘gdk_cairo_set_source_pixbuf’ is deprecated # 83| width, # 84| height); # 85|-> gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0); # 86| cairo_paint (cr); # 87| } Error: COMPILER_WARNING (CWE-477): [#def50] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c: scope_hint: In function ‘gxdp_external_window_x11_set_parent_of’ xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:90:3: warning[-Wdeprecated-declarations]: ‘gdk_x11_display_get_xdisplay’ is deprecated # 90 | xdisplay = gdk_x11_display_get_xdisplay (display); # | ^~~~~~~~ /usr/include/gtk-4.0/gdk/x11/gdkx.h:39: included_from: Included from here. xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:26: included_from: Included from here. /usr/include/gtk-4.0/gdk/x11/gdkx11display.h:60:15: note: declared here # 60 | Display * gdk_x11_display_get_xdisplay (GdkDisplay *display); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 88| # 89| display = gdk_display_get_default (); # 90|-> xdisplay = gdk_x11_display_get_xdisplay (display); # 91| # 92| XSetTransientForHint (xdisplay, Error: COMPILER_WARNING (CWE-477): [#def51] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:90:3: warning[-Wdeprecated-declarations]: ‘gdk_x11_display_get_xdisplay’ is deprecated # 88| # 89| display = gdk_display_get_default (); # 90|-> xdisplay = gdk_x11_display_get_xdisplay (display); # 91| # 92| XSetTransientForHint (xdisplay, Error: COMPILER_WARNING (CWE-477): [#def52] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:93:25: warning[-Wdeprecated-declarations]: ‘gdk_x11_surface_get_xid’ is deprecated # 93 | GDK_SURFACE_XID (surface), # | ^~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gdk/x11/gdkx.h:47: included_from: Included from here. /usr/include/gtk-4.0/gdk/x11/gdkx11surface.h:56:10: note: declared here # 56 | Window gdk_x11_surface_get_xid (GdkSurface *surface); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 91| # 92| XSetTransientForHint (xdisplay, # 93|-> GDK_SURFACE_XID (surface), # 94| external_window_x11->foreign_xid); # 95| Error: COMPILER_WARNING (CWE-477): [#def53] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:93:25: warning[-Wdeprecated-declarations]: ‘gdk_x11_surface_get_xid’ is deprecated # 91| # 92| XSetTransientForHint (xdisplay, # 93|-> GDK_SURFACE_XID (surface), # 94| external_window_x11->foreign_xid); # 95| Error: COMPILER_WARNING (CWE-477): [#def54] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:97:5: warning[-Wdeprecated-declarations]: ‘gdk_x11_get_xatom_by_name_for_display’ is deprecated # 97 | gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE"), # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gdk/x11/gdkx.h:43: included_from: Included from here. /usr/include/gtk-4.0/gdk/x11/gdkx11property.h:39:23: note: declared here # 39 | Atom gdk_x11_get_xatom_by_name_for_display (GdkDisplay *display, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 95| # 96| net_wm_window_type_atom = # 97|-> gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE"), # 98| net_wm_window_type_dialog_atom = # 99| gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"); Error: COMPILER_WARNING (CWE-477): [#def55] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:97:5: warning[-Wdeprecated-declarations]: ‘gdk_x11_get_xatom_by_name_for_display’ is deprecated # 95| # 96| net_wm_window_type_atom = # 97|-> gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE"), # 98| net_wm_window_type_dialog_atom = # 99| gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"); Error: COMPILER_WARNING (CWE-477): [#def56] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:99:5: warning[-Wdeprecated-declarations]: ‘gdk_x11_get_xatom_by_name_for_display’ is deprecated # 99 | gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gdk/x11/gdkx11property.h:39:23: note: declared here # 39 | Atom gdk_x11_get_xatom_by_name_for_display (GdkDisplay *display, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 97| gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE"), # 98| net_wm_window_type_dialog_atom = # 99|-> gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"); # 100| XChangeProperty (xdisplay, # 101| GDK_SURFACE_XID (surface), Error: COMPILER_WARNING (CWE-477): [#def57] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:99:5: warning[-Wdeprecated-declarations]: ‘gdk_x11_get_xatom_by_name_for_display’ is deprecated # 97| gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE"), # 98| net_wm_window_type_dialog_atom = # 99|-> gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"); # 100| XChangeProperty (xdisplay, # 101| GDK_SURFACE_XID (surface), Error: COMPILER_WARNING (CWE-477): [#def58] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:101:20: warning[-Wdeprecated-declarations]: ‘gdk_x11_surface_get_xid’ is deprecated # 101 | GDK_SURFACE_XID (surface), # | ^~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gdk/x11/gdkx11surface.h:56:10: note: declared here # 56 | Window gdk_x11_surface_get_xid (GdkSurface *surface); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 99| gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"); # 100| XChangeProperty (xdisplay, # 101|-> GDK_SURFACE_XID (surface), # 102| net_wm_window_type_atom, # 103| XA_ATOM, 32, PropModeReplace, Error: COMPILER_WARNING (CWE-477): [#def59] xdg-desktop-portal-gnome-49.0/subprojects/libgxdp/src/gxdp-external-window-x11.c:101:20: warning[-Wdeprecated-declarations]: ‘gdk_x11_surface_get_xid’ is deprecated # 99| gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_TYPE_DIALOG"); # 100| XChangeProperty (xdisplay, # 101|-> GDK_SURFACE_XID (surface), # 102| net_wm_window_type_atom, # 103| XA_ATOM, 32, PropModeReplace,
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-85.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | xdg-desktop-portal-gnome-49.0-1.fc44 |
| store-results-to | /tmp/tmpxgxz0kyo/xdg-desktop-portal-gnome-49.0-1.fc44.tar.xz |
| time-created | 2026-01-08 22:08:51 |
| time-finished | 2026-01-08 22:11:31 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpxgxz0kyo/xdg-desktop-portal-gnome-49.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpxgxz0kyo/xdg-desktop-portal-gnome-49.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |