diff options
author | Zhang Xiao <xiao.zhang@windriver.com> | 2017-08-25 08:42:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 22:15:59 +0100 |
commit | 08f8bf817bcb8fb40545aeda9e1cf42088179cfe (patch) | |
tree | b24d352eb6c00e68abbc31978106a13536631664 /meta/COPYING.MIT | |
parent | d2b60efe20f4d9dce03f8f351715b103a85b7338 (diff) | |
download | poky-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/COPYING.MIT')
0 files changed, 0 insertions, 0 deletions