diff options
-rw-r--r-- | emacs/23.4/21_all_format-security.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emacs/23.4/21_all_format-security.patch b/emacs/23.4/21_all_format-security.patch new file mode 100644 index 0000000..e49e6df --- /dev/null +++ b/emacs/23.4/21_all_format-security.patch @@ -0,0 +1,14 @@ +Avoid gcc -Wformat-security warning. +https://bugs.gentoo.org/512426 + +--- emacs-23.4-orig/lib-src/movemail.c ++++ emacs-23.4/lib-src/movemail.c +@@ -615,7 +615,7 @@ + else if (s2) + fprintf (stderr, s1, s2); + else +- fprintf (stderr, s1); ++ fprintf (stderr, "%s", s1); + fprintf (stderr, "\n"); + } + |