summaryrefslogtreecommitdiff
path: root/x11-plugins/wmswallow/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmswallow/files
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmswallow/files')
-rw-r--r--x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch b/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch
new file mode 100644
index 000000000000..7a2fe4cf1f36
--- /dev/null
+++ b/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch
@@ -0,0 +1,16 @@
+--- wmswallow.c.orig 2015-04-01 17:12:29.420177608 +0200
++++ wmswallow.c 2015-04-01 17:13:14.947182921 +0200
+@@ -445,11 +445,11 @@
+ int printlist(FILE * stream, char * string, char **stringlist) {
+ int i=0;
+
+- fprintf(stream, string);
++ fprintf(stream, "%s", string);
+ if (stringlist!=NULL) {
+ while (stringlist[i]!=NULL) {
+ fprintf(stream, " §");
+- fprintf(stream, stringlist[i]);
++ fprintf(stream, "%s", stringlist[i]);
+ fprintf(stream, "§ ");
+ ++i;
+ }