Bug 984250

Summary: ksh leaks memory when nested `` is used.
Product: Red Hat Enterprise Linux 6 Reporter: Tetsuo Handa <penguin-kernel>
Component: kshAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: penguin-kernel
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-22 13:46:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tetsuo Handa 2013-07-14 00:31:04 UTC
Description of problem:

Running below command continues eating memory.

$ ksh -c 'while :; do echo -n `true \`true\``; done'

Version-Release number of selected component (if applicable):
ksh-20100621-19.el6_4.4

How reproducible:
Always.

Steps to Reproduce:
1. Install ksh and run commands with nested ``. 

  $ ksh -c 'while :; do echo -n `true \`true\``; done'

Actual results:
top command reports that ksh continues eating memory.

Expected results:
top command reports that ksh does not continue eating memory.

Additional info:
RHEL 6.4's ksh-20100621-19.el6_4.4 has this bug.
Fedora 19's ksh-20120801-8.fc19 does not have this bug.

Comment 2 Michal Hlavinka 2013-07-22 13:46:42 UTC
covered by fix for reproducer at bug #921455 comment #5

*** This bug has been marked as a duplicate of bug 921455 ***

Comment 3 Tetsuo Handa 2013-07-22 22:57:27 UTC
Bug 921455 is not visible. Can I expect that this bug will be fixed in RHEL6?

Comment 4 Michal Hlavinka 2013-07-23 07:24:14 UTC
(In reply to Tetsuo Handa from comment #3)
> Bug 921455 is not visible. Can I expect that this bug will be fixed in RHEL6?

99% yes