zenity-4.0.3-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
zenity-4.0.3-build/zenity-4.0.3/src/about.c: scope_hint: In function ‘zenity_about’
zenity-4.0.3-build/zenity-4.0.3/src/about.c:57:9: warning[-Wdeprecated-declarations]: ‘adw_about_window_new’ is deprecated: Use 'adw_about_dialog_new' instead
#   57 |         about_window = adw_about_window_new ();
#      |         ^~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:25: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/about.c:30: included_from: Included from here.
/usr/include/libadwaita-1/adw-about-window.h:26:12: note: declared here
#   26 | GtkWidget *adw_about_window_new (void) G_GNUC_WARN_UNUSED_RESULT;
#      |            ^~~~~~~~~~~~~~~~~~~~
#   55|   zenity_about (ZenityData *data)
#   56|   {
#   57|-> 	about_window = adw_about_window_new ();
#   58|   
#   59|   	g_object_set (G_OBJECT (about_window),

Error: COMPILER_WARNING (CWE-477): [#def2]
zenity-4.0.3-build/zenity-4.0.3/src/calendar.c: scope_hint: In function ‘zenity_calendar’
zenity-4.0.3-build/zenity-4.0.3/src/calendar.c:63:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#   63 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/calendar.c:28: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   61|   
#   62|   	if (data->dialog_title)
#   63|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#   64|   
#   65|   	gtk_window_set_icon_name (GTK_WINDOW(dialog),

Error: COMPILER_WARNING (CWE-477): [#def3]
zenity-4.0.3-build/zenity-4.0.3/src/calendar.c:109:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  109 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  107|   	if (data->ok_label)
#  108|   	{
#  109|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#  110|   	}
#  111|   

Error: COMPILER_WARNING (CWE-477): [#def4]
zenity-4.0.3-build/zenity-4.0.3/src/calendar.c:109:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  109 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  107|   	if (data->ok_label)
#  108|   	{
#  109|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#  110|   	}
#  111|   

Error: COMPILER_WARNING (CWE-477): [#def5]
zenity-4.0.3-build/zenity-4.0.3/src/calendar.c:114:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  114 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  112|   	if (data->cancel_label)
#  113|   	{
#  114|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  115|   	}
#  116|   

Error: COMPILER_WARNING (CWE-477): [#def6]
zenity-4.0.3-build/zenity-4.0.3/src/calendar.c:114:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  114 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  112|   	if (data->cancel_label)
#  113|   	{
#  114|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  115|   	}
#  116|   

Error: COMPILER_WARNING (CWE-477): [#def7]
zenity-4.0.3-build/zenity-4.0.3/src/entry.c: scope_hint: In function ‘zenity_entry’
zenity-4.0.3-build/zenity-4.0.3/src/entry.c:65:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#   65 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/entry.c:27: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   63|   
#   64|   	if (data->dialog_title)
#   65|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#   66|   
#   67|   	gtk_window_set_icon_name (GTK_WINDOW(dialog),

Error: COMPILER_WARNING (CWE-477): [#def8]
zenity-4.0.3-build/zenity-4.0.3/src/entry.c:84:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#   84 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   82|   	if (data->ok_label)
#   83|   	{
#   84|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#   85|   	}
#   86|   

Error: COMPILER_WARNING (CWE-477): [#def9]
zenity-4.0.3-build/zenity-4.0.3/src/entry.c:84:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#   84 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   82|   	if (data->ok_label)
#   83|   	{
#   84|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#   85|   	}
#   86|   

Error: COMPILER_WARNING (CWE-477): [#def10]
zenity-4.0.3-build/zenity-4.0.3/src/entry.c:89:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#   89 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   87|   	if (data->cancel_label)
#   88|   	{
#   89|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#   90|   	}
#   91|   

Error: COMPILER_WARNING (CWE-477): [#def11]
zenity-4.0.3-build/zenity-4.0.3/src/entry.c:89:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#   89 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   87|   	if (data->cancel_label)
#   88|   	{
#   89|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#   90|   	}
#   91|   

Error: COMPILER_WARNING (CWE-477): [#def12]
zenity-4.0.3-build/zenity-4.0.3/src/msg.c: scope_hint: In function ‘zenity_msg’
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:88:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_responses’ is deprecated: Use 'adw_alert_dialog_add_responses' instead
#   88 |                 adw_message_dialog_add_responses (ADW_MESSAGE_DIALOG(dialog),
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:29: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:104:6: note: declared here
#  104 | void adw_message_dialog_add_responses (AdwMessageDialog *self,
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   86|   	if (msg_data->mode == ZENITY_MSG_QUESTION)
#   87|   	{
#   88|-> 		adw_message_dialog_add_responses (ADW_MESSAGE_DIALOG(dialog),
#   89|   				"no", _("_No"),
#   90|   				"yes", _("_Yes"),

Error: COMPILER_WARNING (CWE-477): [#def13]
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:92:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead
#   92 |                 adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(dialog),
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:135:13: note: declared here
#  135 | void        adw_message_dialog_set_default_response (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   90|   				"yes", _("_Yes"),
#   91|   				NULL);
#   92|-> 		adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(dialog),
#   93|   				msg_data->default_cancel ? "no" : "yes");
#   94|   	}

Error: COMPILER_WARNING (CWE-477): [#def14]
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:109:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#  109 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  107|   
#  108|   	if (data->dialog_title)
#  109|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#  110|   
#  111|   	if (data->ok_label)

Error: COMPILER_WARNING (CWE-477): [#def15]
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:113:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  113 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  111|   	if (data->ok_label)
#  112|   	{
#  113|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#  114|   	}
#  115|   

Error: COMPILER_WARNING (CWE-477): [#def16]
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:113:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  113 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  111|   	if (data->ok_label)
#  112|   	{
#  113|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#  114|   	}
#  115|   

Error: COMPILER_WARNING (CWE-477): [#def17]
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:118:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  118 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  116|   	if (data->cancel_label)
#  117|   	{
#  118|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#  119|   	}
#  120|   

Error: COMPILER_WARNING (CWE-477): [#def18]
zenity-4.0.3-build/zenity-4.0.3/src/msg.c:118:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  118 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  116|   	if (data->cancel_label)
#  117|   	{
#  118|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#  119|   	}
#  120|   

Error: GCC_ANALYZER_WARNING (CWE-835): [#def19]
zenity-4.0.3-build/zenity-4.0.3/src/notification.c: scope_hint: In function ‘zenity_notification_handle_stdin’
zenity-4.0.3-build/zenity-4.0.3/src/notification.c:105:45: warning[-Wanalyzer-infinite-loop]: infinite loop
#  103|   		g_autoptr(GError) error = NULL;
#  104|   
#  105|-> 		while (channel->is_readable == FALSE)
#  106|   			;
#  107|   

Error: COMPILER_WARNING (CWE-477): [#def20]
zenity-4.0.3-build/zenity-4.0.3/src/password.c: scope_hint: In function ‘zenity_password_dialog’
zenity-4.0.3-build/zenity-4.0.3/src/password.c:67:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#   67 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/password.c:27: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   65|   
#   66|   	if (data->ok_label) {
#   67|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#   68|   	}
#   69|   

Error: COMPILER_WARNING (CWE-477): [#def21]
zenity-4.0.3-build/zenity-4.0.3/src/password.c:67:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#   67 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   65|   
#   66|   	if (data->ok_label) {
#   67|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#   68|   	}
#   69|   

Error: COMPILER_WARNING (CWE-477): [#def22]
zenity-4.0.3-build/zenity-4.0.3/src/password.c:72:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#   72 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   70|   	if (data->cancel_label)
#   71|   	{
#   72|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#   73|   	}
#   74|   

Error: COMPILER_WARNING (CWE-477): [#def23]
zenity-4.0.3-build/zenity-4.0.3/src/password.c:72:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#   72 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   70|   	if (data->cancel_label)
#   71|   	{
#   72|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#   73|   	}
#   74|   

Error: COMPILER_WARNING (CWE-477): [#def24]
zenity-4.0.3-build/zenity-4.0.3/src/password.c:123:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#  123 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  121|   
#  122|   	if (data->dialog_title)
#  123|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#  124|   
#  125|   	if (data->modal)

Error: GCC_ANALYZER_WARNING (CWE-835): [#def25]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c: scope_hint: In function ‘zenity_progress_handle_stdin’
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:166:44: warning[-Wanalyzer-infinite-loop]: infinite loop
#  164|   		g_autoptr(GError) error = NULL;
#  165|   
#  166|-> 		while (source->is_readable != TRUE)
#  167|   			;
#  168|   		do {

Error: COMPILER_WARNING (CWE-477): [#def26]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c: scope_hint: In function ‘zenity_progress_handle_stdin’
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:245:49: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_enabled’ is deprecated: Use 'adw_alert_dialog_set_response_enabled' instead
#  245 |                                                 adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "ok", TRUE);
#      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:28: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:128:10: note: declared here
#  128 | void     adw_message_dialog_set_response_enabled (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  243|   					if (!auto_close)
#  244|   					{
#  245|-> 						adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "ok", TRUE);
#  246|   						adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(parent), "ok");
#  247|   					}

Error: COMPILER_WARNING (CWE-477): [#def27]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:246:49: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead
#  246 |                                                 adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(parent), "ok");
#      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:135:13: note: declared here
#  135 | void        adw_message_dialog_set_default_response (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  244|   					{
#  245|   						adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "ok", TRUE);
#  246|-> 						adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(parent), "ok");
#  247|   					}
#  248|   

Error: COMPILER_WARNING (CWE-477): [#def28]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:269:25: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_enabled’ is deprecated: Use 'adw_alert_dialog_set_response_enabled' instead
#  269 |                         adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "cancel", FALSE);
#      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:128:10: note: declared here
#  128 | void     adw_message_dialog_set_response_enabled (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  267|   		 * the buttons */
#  268|   		if (!no_cancel)
#  269|-> 			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "cancel", FALSE);
#  270|   		if (!auto_close)
#  271|   		{

Error: COMPILER_WARNING (CWE-477): [#def29]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:272:25: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_enabled’ is deprecated: Use 'adw_alert_dialog_set_response_enabled' instead
#  272 |                         adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "ok", TRUE);
#      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:128:10: note: declared here
#  128 | void     adw_message_dialog_set_response_enabled (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  270|   		if (!auto_close)
#  271|   		{
#  272|-> 			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "ok", TRUE);
#  273|   			adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(parent), "ok");
#  274|   		}

Error: COMPILER_WARNING (CWE-477): [#def30]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:273:25: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead
#  273 |                         adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(parent), "ok");
#      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:135:13: note: declared here
#  135 | void        adw_message_dialog_set_default_response (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  271|   		{
#  272|   			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(parent), "ok", TRUE);
#  273|-> 			adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(parent), "ok");
#  274|   		}
#  275|   

Error: COMPILER_WARNING (CWE-477): [#def31]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c: scope_hint: In function ‘zenity_progress’
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:350:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_response’ is deprecated: Use 'adw_alert_dialog_add_response' instead
#  350 |                 adw_message_dialog_add_response (ADW_MESSAGE_DIALOG(dialog), "cancel", _("_Cancel"));
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:95:6: note: declared here
#   95 | void adw_message_dialog_add_response (AdwMessageDialog *self,
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  348|   		gtk_window_set_deletable (GTK_WINDOW(dialog), FALSE);
#  349|   	else
#  350|-> 		adw_message_dialog_add_response (ADW_MESSAGE_DIALOG(dialog), "cancel", _("_Cancel"));
#  351|   
#  352|   	if (!auto_close)

Error: COMPILER_WARNING (CWE-477): [#def32]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:354:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_response’ is deprecated: Use 'adw_alert_dialog_add_response' instead
#  354 |                 adw_message_dialog_add_response (ADW_MESSAGE_DIALOG(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,
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  352|   	if (!auto_close)
#  353|   	{
#  354|-> 		adw_message_dialog_add_response (ADW_MESSAGE_DIALOG(dialog), "ok", _("_OK"));
#  355|   		if (progress_data->percentage == 100) {
#  356|   			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", TRUE);

Error: COMPILER_WARNING (CWE-477): [#def33]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:356:25: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_enabled’ is deprecated: Use 'adw_alert_dialog_set_response_enabled' instead
#  356 |                         adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", TRUE);
#      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:128:10: note: declared here
#  128 | void     adw_message_dialog_set_response_enabled (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  354|   		adw_message_dialog_add_response (ADW_MESSAGE_DIALOG(dialog), "ok", _("_OK"));
#  355|   		if (progress_data->percentage == 100) {
#  356|-> 			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", TRUE);
#  357|   			adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(dialog), "ok");
#  358|   		} else {

Error: COMPILER_WARNING (CWE-477): [#def34]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:357:25: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_default_response’ is deprecated: Use 'adw_alert_dialog_set_default_response' instead
#  357 |                         adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(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,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  355|   		if (progress_data->percentage == 100) {
#  356|   			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", TRUE);
#  357|-> 			adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(dialog), "ok");
#  358|   		} else {
#  359|   			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", FALSE);

Error: COMPILER_WARNING (CWE-477): [#def35]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:359:25: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_enabled’ is deprecated: Use 'adw_alert_dialog_set_response_enabled' instead
#  359 |                         adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", FALSE);
#      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:128:10: note: declared here
#  128 | void     adw_message_dialog_set_response_enabled (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  357|   			adw_message_dialog_set_default_response (ADW_MESSAGE_DIALOG(dialog), "ok");
#  358|   		} else {
#  359|-> 			adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", FALSE);
#  360|   		}
#  361|   	}

Error: COMPILER_WARNING (CWE-477): [#def36]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:380:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#  380 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  378|   
#  379|   	if (data->dialog_title)
#  380|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#  381|   
#  382|   	gtk_window_set_icon_name (GTK_WINDOW(dialog),

Error: COMPILER_WARNING (CWE-477): [#def37]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:403:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  403 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  401|   
#  402|   	if (data->ok_label) {
#  403|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#  404|   	}
#  405|   

Error: COMPILER_WARNING (CWE-477): [#def38]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:403:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  403 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  401|   
#  402|   	if (data->ok_label) {
#  403|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#  404|   	}
#  405|   

Error: COMPILER_WARNING (CWE-477): [#def39]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:408:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  408 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  406|   	if (data->cancel_label)
#  407|   	{
#  408|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  409|   	}
#  410|   

Error: COMPILER_WARNING (CWE-477): [#def40]
zenity-4.0.3-build/zenity-4.0.3/src/progress.c:408:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  408 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  406|   	if (data->cancel_label)
#  407|   	{
#  408|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  409|   	}
#  410|   

Error: COMPILER_WARNING (CWE-477): [#def41]
zenity-4.0.3-build/zenity-4.0.3/src/scale.c: scope_hint: In function ‘zenity_scale’
zenity-4.0.3-build/zenity-4.0.3/src/scale.c:76:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#   76 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/scale.c:28: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   74|   
#   75|   	if (data->dialog_title)
#   76|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#   77|   
#   78|   	gtk_window_set_icon_name (GTK_WINDOW(dialog),

Error: COMPILER_WARNING (CWE-477): [#def42]
zenity-4.0.3-build/zenity-4.0.3/src/scale.c:96:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#   96 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   94|   	if (data->ok_label)
#   95|   	{
#   96|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#   97|   	}
#   98|   

Error: COMPILER_WARNING (CWE-477): [#def43]
zenity-4.0.3-build/zenity-4.0.3/src/scale.c:96:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#   96 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   94|   	if (data->ok_label)
#   95|   	{
#   96|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#   97|   	}
#   98|   

Error: COMPILER_WARNING (CWE-477): [#def44]
zenity-4.0.3-build/zenity-4.0.3/src/scale.c:101:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  101 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   99|   	if (data->cancel_label)
#  100|   	{
#  101|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  102|   	}
#  103|   

Error: COMPILER_WARNING (CWE-477): [#def45]
zenity-4.0.3-build/zenity-4.0.3/src/scale.c:101:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  101 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   99|   	if (data->cancel_label)
#  100|   	{
#  101|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  102|   	}
#  103|   

Error: GCC_ANALYZER_WARNING (CWE-835): [#def46]
zenity-4.0.3-build/zenity-4.0.3/src/text.c: scope_hint: In function ‘zenity_text_handle_stdin’
zenity-4.0.3-build/zenity-4.0.3/src/text.c:171:45: warning[-Wanalyzer-infinite-loop]: infinite loop
#  169|   		int status;
#  170|   
#  171|-> 		while (channel->is_readable != TRUE)
#  172|   			;
#  173|   

Error: COMPILER_WARNING (CWE-477): [#def47]
zenity-4.0.3-build/zenity-4.0.3/src/text.c: scope_hint: In function ‘zenity_text’
zenity-4.0.3-build/zenity-4.0.3/src/text.c:282:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#  282 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/text.c:28: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  280|   
#  281|   	if (data->dialog_title)
#  282|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);;
#  283|   
#  284|   	gtk_window_set_icon_name (GTK_WINDOW(dialog),

Error: COMPILER_WARNING (CWE-477): [#def48]
zenity-4.0.3-build/zenity-4.0.3/src/text.c:331:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  331 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  329|   
#  330|   	if (data->ok_label) {
#  331|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#  332|   	}
#  333|   

Error: COMPILER_WARNING (CWE-477): [#def49]
zenity-4.0.3-build/zenity-4.0.3/src/text.c:331:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  331 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  329|   
#  330|   	if (data->ok_label) {
#  331|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog);
#  332|   	}
#  333|   

Error: COMPILER_WARNING (CWE-477): [#def50]
zenity-4.0.3-build/zenity-4.0.3/src/text.c:336:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  336 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  334|   	if (data->cancel_label)
#  335|   	{
#  336|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  337|   	}
#  338|   

Error: COMPILER_WARNING (CWE-477): [#def51]
zenity-4.0.3-build/zenity-4.0.3/src/text.c:336:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  336 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  334|   	if (data->cancel_label)
#  335|   	{
#  336|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog);
#  337|   	}
#  338|   

Error: COMPILER_WARNING (CWE-477): [#def52]
zenity-4.0.3-build/zenity-4.0.3/src/text.c:342:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_enabled’ is deprecated: Use 'adw_alert_dialog_set_response_enabled' instead
#  342 |                 adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", FALSE);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:128:10: note: declared here
#  128 | void     adw_message_dialog_set_response_enabled (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  340|   		gtk_widget_set_visible (GTK_WIDGET(checkbox), TRUE);
#  341|   		gtk_check_button_set_label (GTK_CHECK_BUTTON(checkbox), text_data->checkbox);
#  342|-> 		adw_message_dialog_set_response_enabled (ADW_MESSAGE_DIALOG(dialog), "ok", FALSE);
#  343|   
#  344|   		g_signal_connect (checkbox, "toggled", G_CALLBACK(zenity_text_toggle_button), dialog);

Error: COMPILER_WARNING (CWE-477): [#def53]
zenity-4.0.3-build/zenity-4.0.3/src/text.c: scope_hint: In function ‘zenity_text_toggle_button’
zenity-4.0.3-build/zenity-4.0.3/src/text.c:423:9: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_enabled’ is deprecated: Use 'adw_alert_dialog_set_response_enabled' instead
#  423 |         adw_message_dialog_set_response_enabled (dialog, "ok", gtk_check_button_get_active (button));
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:128:10: note: declared here
#  128 | void     adw_message_dialog_set_response_enabled (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  421|   zenity_text_toggle_button (GtkCheckButton *button, AdwMessageDialog *dialog)
#  422|   {
#  423|-> 	adw_message_dialog_set_response_enabled (dialog, "ok", gtk_check_button_get_active (button));
#  424|   }
#  425|   

Error: COMPILER_WARNING (CWE-477): [#def54]
zenity-4.0.3-build/zenity-4.0.3/src/tree.c: scope_hint: In function ‘zenity_tree’
zenity-4.0.3-build/zenity-4.0.3/src/tree.c:310:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_heading’ is deprecated: Use 'adw_alert_dialog_set_heading' instead
#  310 |                 adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/tree.c:30: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:47:13: note: declared here
#   47 | void        adw_message_dialog_set_heading (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  308|   
#  309|   	if (data->dialog_title)
#  310|-> 		adw_message_dialog_set_heading (ADW_MESSAGE_DIALOG(dialog), data->dialog_title);
#  311|   
#  312|   	if (data->modal)

Error: COMPILER_WARNING (CWE-477): [#def55]
zenity-4.0.3-build/zenity-4.0.3/src/tree.c:321:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  321 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  319|   
#  320|   	if (data->ok_label) {
#  321|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#  322|   	}
#  323|   

Error: COMPILER_WARNING (CWE-477): [#def56]
zenity-4.0.3-build/zenity-4.0.3/src/tree.c:321:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  321 |                 ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  319|   
#  320|   	if (data->ok_label) {
#  321|-> 		ZENITY_UTIL_SETUP_OK_BUTTON_LABEL (dialog)
#  322|   	}
#  323|   

Error: COMPILER_WARNING (CWE-477): [#def57]
zenity-4.0.3-build/zenity-4.0.3/src/tree.c:325:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_has_response’ is deprecated: Use 'adw_alert_dialog_has_response' instead
#  325 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:149:10: note: declared here
#  149 | gboolean adw_message_dialog_has_response (AdwMessageDialog *self,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  323|   
#  324|   	if (data->cancel_label) {
#  325|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#  326|   	}
#  327|   

Error: COMPILER_WARNING (CWE-477): [#def58]
zenity-4.0.3-build/zenity-4.0.3/src/tree.c:325:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_set_response_label’ is deprecated: Use 'adw_alert_dialog_set_response_label' instead
#  325 |                 ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:112:13: note: declared here
#  112 | void        adw_message_dialog_set_response_label (AdwMessageDialog *self,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  323|   
#  324|   	if (data->cancel_label) {
#  325|-> 		ZENITY_UTIL_SETUP_CANCEL_BUTTON_LABEL (dialog)
#  326|   	}
#  327|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
zenity-4.0.3-build/zenity-4.0.3/src/util.c: scope_hint: In function ‘zenity_util_fill_file_buffer’
zenity-4.0.3-build/zenity-4.0.3/src/util.c:184:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
#  182|   	gtk_text_buffer_get_iter_at_offset (buffer, &iter, 0);
#  183|   
#  184|-> 	while (!feof (f)) {
#  185|   		int count;
#  186|   		const char *leftover;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
zenity-4.0.3-build/zenity-4.0.3/src/util.c:184:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
#  182|   	gtk_text_buffer_get_iter_at_offset (buffer, &iter, 0);
#  183|   
#  184|-> 	while (!feof (f)) {
#  185|   		int count;
#  186|   		const char *leftover;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
zenity-4.0.3-build/zenity-4.0.3/src/util.c:195:70: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
zenity-4.0.3-build/zenity-4.0.3/src/util.c:194:17: note: in expansion of macro ‘g_assert’
#  193|   
#  194|   		g_assert (g_utf8_validate (buf, leftover - buf, NULL));
#  195|-> 		gtk_text_buffer_insert (buffer, &iter, buf, leftover - buf);
#  196|   
#  197|   		remaining = (buf + remaining + count) - leftover;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
zenity-4.0.3-build/zenity-4.0.3/src/util.c:195:70: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
zenity-4.0.3-build/zenity-4.0.3/src/util.c:194:17: note: in expansion of macro ‘g_assert’
#  193|   
#  194|   		g_assert (g_utf8_validate (buf, leftover - buf, NULL));
#  195|-> 		gtk_text_buffer_insert (buffer, &iter, buf, leftover - buf);
#  196|   
#  197|   		remaining = (buf + remaining + count) - leftover;

Error: COMPILER_WARNING (CWE-477): [#def63]
zenity-4.0.3-build/zenity-4.0.3/src/util.c: scope_hint: In function ‘zenity_util_timeout_handle’
zenity-4.0.3-build/zenity-4.0.3/src/util.c:434:17: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_response’ is deprecated: Use 'adw_alert_dialog_response' instead
#  434 |                 adw_message_dialog_response (dialog, "timeout");
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/zenity.h:5: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.h:38: included_from: Included from here.
zenity-4.0.3-build/zenity-4.0.3/src/util.c:33: included_from: Included from here.
/usr/include/libadwaita-1/adw-message-dialog.h:145:6: note: declared here
#  145 | void adw_message_dialog_response (AdwMessageDialog *self,
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#  432|   {
#  433|   	if (dialog && ADW_IS_MESSAGE_DIALOG (dialog)) {
#  434|-> 		adw_message_dialog_response (dialog, "timeout");
#  435|   	}
#  436|   	else {

Error: COMPILER_WARNING (CWE-477): [#def64]
zenity-4.0.3-build/zenity-4.0.3/src/util.c: scope_hint: In function ‘zenity_util_add_button’
zenity-4.0.3-build/zenity-4.0.3/src/util.c:531:9: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_response’ is deprecated: Use 'adw_alert_dialog_add_response' instead
#  531 |         adw_message_dialog_add_response (dialog, response_str, button_text);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/libadwaita-1/adw-message-dialog.h:95:6: note: declared here
#   95 | void adw_message_dialog_add_response (AdwMessageDialog *self,
#      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  529|   	g_autofree char *response_str = g_strdup_printf ("%d", response_id);
#  530|   
#  531|-> 	adw_message_dialog_add_response (dialog, response_str, button_text);
#  532|   
#  533|   	return w;

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-82.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namezenity-4.0.3-1.fc42
store-results-to/tmp/tmp90njt67q/zenity-4.0.3-1.fc42.tar.xz
time-created2024-11-13 03:47:47
time-finished2024-11-13 03:50:02
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp90njt67q/zenity-4.0.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp90njt67q/zenity-4.0.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9