summaryrefslogtreecommitdiff
path: root/app-text/wv/files/wv-1.2.9-format-security.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/wv/files/wv-1.2.9-format-security.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/wv/files/wv-1.2.9-format-security.patch')
-rw-r--r--app-text/wv/files/wv-1.2.9-format-security.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/wv/files/wv-1.2.9-format-security.patch b/app-text/wv/files/wv-1.2.9-format-security.patch
new file mode 100644
index 000000000000..0bb7ac21f2c1
--- /dev/null
+++ b/app-text/wv/files/wv-1.2.9-format-security.patch
@@ -0,0 +1,11 @@
+--- wv-1.2.9/wvRTF.c.orig 2013-12-12 17:03:41.635612853 -0500
++++ wv-1.2.9/wvRTF.c 2013-12-12 17:04:05.528003832 -0500
+@@ -192,7 +192,7 @@
+ rtf_output_char ('{');
+
+ /* font color */
+- rtf_output (rtfColors[ud->cCol]);
++ rtf_output ("%s", rtfColors[ud->cCol]);
+
+ /* font face */
+ rtf_output ("\\f%d", ud->cFont);