Bug 984944

Summary: cppcheck found new leak in ksh
Product: Red Hat Enterprise Linux 5 Reporter: Martin Kyral <mkyral>
Component: kshAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ksh-20100621-18.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 00:26:38 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 Martin Kyral 2013-07-16 12:34:31 UTC
Description of problem:
cppcheck-diff.sh found new issue in ksh-20100621-17.el5 compared to ksh-20100621-12.el5:

src/cmd/ksh93/sh/subshell.c:204,error,memleak,Memory leak: trap

Version-Release number of selected component (if applicable):
ksh-20100621-17.el5

How reproducible:


Steps to Reproduce:
1. install 
2. cd /usr/src/redhat/BUILD/ksh-20100621/
3. cppcheck --template "{file}:{line},{severity},{id},{message}" -i test -i tests -i testsuite -j 4 --quiet . 2>&1


Actual results:
memleak src/cmd/ksh93/sh/subshell.c:204,error,memleak,Memory leak: trap is found

Comment 1 RHEL Program Management 2013-07-16 13:49:37 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 5 errata-xmlrpc 2013-10-01 00:26:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1351.html