]> code.ossystems Code Review - openembedded-core.git/commit
bash: fix string format errors when enabling security flags
authorRoss Burton <ross.burton@intel.com>
Thu, 14 Jul 2016 09:21:51 +0000 (10:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:53 +0000 (10:24 +0100)
commit293d90d757d0d1e292c90cb0e9c576faf911ffcc
tree3aff13383a1be56cc25ad582479a163bfc69cede
parent71794837b477a78e2f5408348e269f58f9b1ec7e
bash: fix string format errors when enabling security flags

If security_flags.inc is included then bash 3.2.48 fails to build:

| ../bash-3.2.48/print_cmd.c:1152:3: error: format not a string literal and no format arguments [-Werror=format-security]
|    cprintf (indentation_string);

Backport a patch from upstream to solve this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/bash/bash-3.2.48/string-format.patch [new file with mode: 0644]
meta/recipes-extended/bash/bash_3.2.48.bb