]> code.ossystems Code Review - openembedded-core.git/commit
bash: memleak bug fix for builtin command read
authorZhang Xiao <xiao.zhang@windriver.com>
Fri, 25 Aug 2017 00:42:38 +0000 (08:42 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 21:15:51 +0000 (22:15 +0100)
commit571e53024b4f924e50cf6a478ccc8d6f097816bb
treed0996d05c1b950a910fdc61a88a7aff3585b40d3
parent1c9d891886f35e6cc4485f244180d7d0ffa82cd3
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 <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>
meta/recipes-extended/bash/bash/bash-memleak-bug-fix-for-builtin-command-read.patch [new file with mode: 0644]
meta/recipes-extended/bash/bash_4.3.30.bb