diff options
Diffstat (limited to 'x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch')
| -rw-r--r-- | x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch | 16 |
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; + } |
