Bug 239536
Summary: | Memory leak was found in nfs-utils | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Akira Tsukamoto <Akira_Tsukamoto> | ||||
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.0 | CC: | jhutar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2007-0651 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-07 17:15:27 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: | 239783 | ||||||
Attachments: |
|
Description
Akira Tsukamoto
2007-05-09 09:34:49 UTC
Created attachment 154383 [details]
patch to fix memory leak in nfs-utils
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Fixed in nfs-utils-1.0.9-18 Same memory leak exist in nfs-utils packages for Red Hat Enterprize Linux 4.5. Please apply for RHEL4 too. Thanks for the info... I just cloned this bug into a RHEL4.5 one... See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239783 I as well had no luck reproducing this leak. but looking at the patch: --- a/support/export/client.c +++ b/support/export/client.c @@ -262,6 +262,10 @@ client_compose(struct in_addr addr) name = add_name(name, clp->m_hostname); } } + + if (he != NULL) + free(he); + return name; } it is very apparent we were not free memory in a routine call client_compose() which is used by rpc.mountd to authenticate incoming ip address. This request was previously evaluated by Red Hat Product Management for inclusion in the current Red Hat Enterprise Linux release, but Red Hat was unable to resolve it in time. This request will be reviewed for a future Red Hat Enterprise Linux release. 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 the 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/RHBA-2007-0651.html |