aboutsummaryrefslogtreecommitdiffstats
path: root/main/recode/recode-format-security.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/recode/recode-format-security.patch')
-rw-r--r--main/recode/recode-format-security.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/recode/recode-format-security.patch b/main/recode/recode-format-security.patch
new file mode 100644
index 0000000000..756ba3ff56
--- /dev/null
+++ b/main/recode/recode-format-security.patch
@@ -0,0 +1,12 @@
+diff -up recode-3.6/src/names.c.printf recode-3.6/src/names.c
+--- recode-3.6/src/names.c.printf 2000-12-06 20:41:29.000000000 +0100
++++ recode-3.6/src/names.c 2013-12-18 12:48:42.578052395 +0100
+@@ -892,7 +892,7 @@ list_concise_charset (RECODE_OUTER outer
+ if (ucs2 >= 0)
+ printf (format, code);
+ else if (mnemonic || counter2 != 112)
+- printf (blanks);
++ printf ("%s", blanks);
+
+ if (mnemonic)
+ printf (counter2 == 112 ? " %s\n" : " %-3s", mnemonic);