diff -Nru bash-4.3/debian/changelog bash-4.3/debian/changelog --- bash-4.3/debian/changelog 2016-11-15 11:05:45.000000000 +0100 +++ bash-4.3/debian/changelog 2016-11-22 23:55:42.000000000 +0100 @@ -1,3 +1,12 @@ +bash (4.3-7ubuntu1.7) trusty-proposed; urgency=medium + + * Fix format-security bug: ngettext() passed to printf() as format string: + - builtins/help.def:130:7: error: format not a string literal and no + format arguments [-Werror=format-security] + LP: #NNNNNNN + + -- Julian Andres Klode Tue, 22 Nov 2016 23:55:42 +0100 + bash (4.3-7ubuntu1.6) trusty-proposed; urgency=medium * When the readline `revert-all-at-newline' option is set, pressing newline diff -Nru bash-4.3/debian/patches/help-format-security.diff bash-4.3/debian/patches/help-format-security.diff --- bash-4.3/debian/patches/help-format-security.diff 1970-01-01 01:00:00.000000000 +0100 +++ bash-4.3/debian/patches/help-format-security.diff 2016-11-22 23:55:42.000000000 +0100 @@ -0,0 +1,19 @@ +Description: Do not pass ngettext() as first argument to printf() + Fix format-security bug: ngettext() passed to printf() as format string: + - builtins/help.def:130:7: error: format not a string literal and no + format arguments [-Werror=format-security] +Author: Julian Andres Klode +Bug-Ubuntu: https://launchpad.net/bugs/ +Last-Update: 2016-11-22 + +--- bash-4.3.orig/builtins/help.def ++++ bash-4.3/builtins/help.def +@@ -127,7 +127,7 @@ help_builtin (list) + + if (glob_pattern_p (list->word->word)) + { +- printf (ngettext ("Shell commands matching keyword `", "Shell commands matching keywords `", (list->next ? 2 : 1))); ++ printf ("%s", ngettext ("Shell commands matching keyword `", "Shell commands matching keywords `", (list->next ? 2 : 1))); + print_word_list (list, ", "); + printf ("'\n\n"); + } diff -Nru bash-4.3/debian/patches/series bash-4.3/debian/patches/series --- bash-4.3/debian/patches/series 2016-11-15 10:41:12.000000000 +0100 +++ bash-4.3/debian/patches/series 2016-11-22 23:55:42.000000000 +0100 @@ -37,3 +37,4 @@ CVE-2014-6277.diff CVE-2014-6278.diff bash-readline-revert.diff -p1 +help-format-security.diff