diff options
author | 2014-06-04 18:49:25 +0200 | |
---|---|---|
committer | 2014-06-04 18:49:25 +0200 | |
commit | f807e471d4e116943b4d7e0ddfad7b7173362609 (patch) | |
tree | 5421b228ce42de9c3e68db6a6cbfbff203e4eacf /emacs | |
parent | Remove 24.2 patchset. (diff) | |
download | emacs-patches-f807e471d4e116943b4d7e0ddfad7b7173362609.tar.gz emacs-patches-f807e471d4e116943b4d7e0ddfad7b7173362609.tar.bz2 emacs-patches-f807e471d4e116943b4d7e0ddfad7b7173362609.zip |
Avoid gcc -Wformat-security warning, bug 512426.emacs-23.4-patches-14
Diffstat (limited to 'emacs')
-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"); + } + |