Bug 736023 - Common realloc mistake: 'screen' nulled but not freed upon failure
Summary: Common realloc mistake: 'screen' nulled but not freed upon failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: procps
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Jaromír Cápík
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 743047
TreeView+ depends on / blocked
 
Reported: 2011-09-06 12:52 UTC by Branislav Náter
Modified: 2011-12-06 09:57 UTC (History)
2 users (show)

Fixed In Version: procps-3.2.8-21.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 09:57:37 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1554 normal SHIPPED_LIVE procps bug fix update 2011-12-06 00:39:23 UTC

Description Branislav Náter 2011-09-06 12:52:07 UTC
Description of problem:
Following issue was found using cppcheck (tool for static C/C++ code analysis):

Checking procps-3.2.8/tload.c...
[procps-3.2.8/tload.c:58]: (error) Common realloc mistake: 'screen' nulled but not freed upon failure

Scenario:
1. cppcheck <dir_with_source_code>

Comment 5 errata-xmlrpc 2011-12-06 09:57:37 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-2011-1554.html


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