Bug 696672 - Resource leak
Summary: Resource leak
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sysstat
Version: 5.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Ivana Varekova
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-14 15:20 UTC by Michal Luscon
Modified: 2011-07-21 10:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The read_uptime() function failed to close its open file upon exit. A patch has been provided to fix this bug.
Clone Of:
: 700797 (view as bug list)
Environment:
Last Closed: 2011-07-21 10:43:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed solution (172 bytes, patch)
2011-04-14 15:20 UTC, Michal Luscon
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1005 0 normal SHIPPED_LIVE Low: sysstat security, bug fix, and enhancement update 2011-07-21 10:39:28 UTC

Description Michal Luscon 2011-04-14 15:20:57 UTC
Created attachment 492142 [details]
proposed solution

Description of problem:

Function read_uptime returns without file close in file cifsiostat.c:386.

Additional info: This defect was not present in current supported version of sysstat package.

Comment 3 Tomas Capek 2011-06-29 08:32:03 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The read_uptime() function failed to close its open file upon exit. A patch has been provided to fix this bug.

Comment 4 errata-xmlrpc 2011-07-21 10:43:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1005.html


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