summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash_4.3.30.bb
diff options
context:
space:
mode:
authorZhang Xiao <xiao.zhang@windriver.com>2017-08-25 08:42:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 22:15:59 +0100
commit08f8bf817bcb8fb40545aeda9e1cf42088179cfe (patch)
treeb24d352eb6c00e68abbc31978106a13536631664 /meta/recipes-extended/bash/bash_4.3.30.bb
parentd2b60efe20f4d9dce03f8f351715b103a85b7338 (diff)
downloadpoky-08f8bf817bcb8fb40545aeda9e1cf42088179cfe.tar.gz
bash: memleak bug fix for builtin command read
Built in command "read" with "-e" use Readline to obtain the line in an interactive shell. In this process, a string "rlbuf" is just allocated without free operation thus cause memory leak. This patch had been submitted to upstream: http://lists.gnu.org/archive/html/bug-bash/2017-02/msg00061.html (From OE-Core rev: a2b278a6eaa9e9b48d858e3be6712267c0122598) (From OE-Core rev: 571e53024b4f924e50cf6a478ccc8d6f097816bb) Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> fixup for 4.3 Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash_4.3.30.bb')
-rw-r--r--meta/recipes-extended/bash/bash_4.3.30.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash_4.3.30.bb b/meta/recipes-extended/bash/bash_4.3.30.bb
index b40059fa1d..2648faf471 100644
--- a/meta/recipes-extended/bash/bash_4.3.30.bb
+++ b/meta/recipes-extended/bash/bash_4.3.30.bb
@@ -32,6 +32,7 @@ SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
32 file://0001-help-fix-printf-format-security-warning.patch \ 32 file://0001-help-fix-printf-format-security-warning.patch \
33 file://fix-run-intl.patch \ 33 file://fix-run-intl.patch \
34 file://CVE-2016-9401.patch \ 34 file://CVE-2016-9401.patch \
35 file://bash-memleak-bug-fix-for-builtin-command-read.patch \
35 " 36 "
36 37
37SRC_URI[tarball.md5sum] = "a27b3ee9be83bd3ba448c0ff52b28447" 38SRC_URI[tarball.md5sum] = "a27b3ee9be83bd3ba448c0ff52b28447"