Bug 736023

Summary: Common realloc mistake: 'screen' nulled but not freed upon failure
Product: Red Hat Enterprise Linux 6 Reporter: Branislav Náter <bnater>
Component: procpsAssignee: Jaromír Cápík <jcapik>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: albert, ovasik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: procps-3.2.8-21.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 09:57:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 743047    

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