summaryrefslogtreecommitdiff
path: root/cwiid-format-security.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-22 09:20:27 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-22 09:20:27 +0000
commit51f32f2c0f31403b8500d76a51a39465c8d91675 (patch)
tree7fc963832d42e52c76c8473b248b70b6cc06131b /cwiid-format-security.patch
parentc181c4daee3a6150931075556c19e42103cf2112 (diff)
automatic import of ros-humble-cwiid
Diffstat (limited to 'cwiid-format-security.patch')
-rw-r--r--cwiid-format-security.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/cwiid-format-security.patch b/cwiid-format-security.patch
new file mode 100644
index 0000000..c4044df
--- /dev/null
+++ b/cwiid-format-security.patch
@@ -0,0 +1,12 @@
+diff --git a/wmgui/main.c b/wmgui/main.c
+--- a/wmgui/main.c
++++ b/wmgui/main.c
+@@ -442,7 +442,7 @@ void message(GtkMessageType type, const gchar *message, GtkWindow *parent)
+ {
+ GtkWidget *dialog;
+
+- dialog = gtk_message_dialog_new(parent, 0, type, GTK_BUTTONS_OK, message);
++ dialog = gtk_message_dialog_new(parent, 0, type, GTK_BUTTONS_OK, "%s", message);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
+ }