diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-22 10:55:02 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-22 10:55:02 +0000 |
| commit | 4f0834d018b0eb4c2cbe352324b851dfffe3c485 (patch) | |
| tree | e7f7b3f7ef19e8862f8a612268c82a43d688fb18 /0003-fix-format-security.patch | |
| parent | b53c9ada679f3a03ecad6368ca387ed68f18627d (diff) | |
automatic import of ros-humble-cwiid-developeneuler24.03_LTS_SP3
Diffstat (limited to '0003-fix-format-security.patch')
| -rw-r--r-- | 0003-fix-format-security.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/0003-fix-format-security.patch b/0003-fix-format-security.patch new file mode 100644 index 0000000..6d9f708 --- /dev/null +++ b/0003-fix-format-security.patch @@ -0,0 +1,13 @@ +diff --git a/wmgui/main.c b/wmgui/main.c +index d989f72..555b041 100644 +--- 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); + } |
