Bug 984944 - cppcheck found new leak in ksh
Summary: cppcheck found new leak in ksh
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ksh
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-16 12:34 UTC by Martin Kyral
Modified: 2013-10-01 00:26 UTC (History)
1 user (show)

Fixed In Version: ksh-20100621-18.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 00:26:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1351 0 normal SHIPPED_LIVE ksh bug fix update 2013-09-30 21:12:39 UTC

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


Note You need to log in before you can comment on or make changes to this bug.