From e4881a3d22ca055e27aaf8eaacfe1ea2ded79e3d Mon Sep 17 00:00:00 2001 From: Zhang Xiao Date: Fri, 25 Aug 2017 08:42:38 +0800 Subject: 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) Signed-off-by: Zhang Xiao Signed-off-by: Yi Zhao Signed-off-by: Richard Purdie --- meta/recipes-extended/bash/bash_4.4.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended/bash/bash_4.4.bb') diff --git a/meta/recipes-extended/bash/bash_4.4.bb b/meta/recipes-extended/bash/bash_4.4.bb index b602afe8ac..e544d07c10 100644 --- a/meta/recipes-extended/bash/bash_4.4.bb +++ b/meta/recipes-extended/bash/bash_4.4.bb @@ -25,6 +25,7 @@ SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \ file://run-ptest \ file://fix-run-builtins.patch \ file://0001-help-fix-printf-format-security-warning.patch \ + file://bash-memleak-bug-fix-for-builtin-command-read.patch \ " SRC_URI[tarball.md5sum] = "148888a7c95ac23705559b6f477dfe25" -- cgit v1.2.3-54-g00ecf