Bug 434991

Summary: glibc reports invalid free for nsswitch binary
Product: Red Hat Enterprise Linux 4 Reporter: Jeff Moyer <jmoyer>
Component: autofsAssignee: Jeff Moyer <jmoyer>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: low    
Version: 4.6CC: ikent
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0702 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:51:47 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:
Attachments:
Description Flags
Don't free the domainname returned from yp_get_default_domain none

Description Jeff Moyer 2008-02-26 18:45:34 UTC
Description of problem:
lib/nsswitch.c uses yp_get_default_domain to determine the yp domain name.  The
pointer passed back apparently should not be passed to free.  Glibc spewed an
error about this and terminated the program.

Version-Release number of selected component (if applicable):
autofs-4.1.3-231

How reproducible:
100%

Steps to Reproduce:
Run the regression test /CoreOS/autofs/bugzillas, subtest bz212249.

Comment 1 Jeff Moyer 2008-02-26 18:45:34 UTC
Created attachment 295978 [details]
Don't free the domainname returned from yp_get_default_domain

Comment 2 RHEL Program Management 2008-02-26 18:47:49 UTC
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.

Comment 3 RHEL Program Management 2008-02-26 18:49:15 UTC
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.

Comment 5 Jeff Moyer 2008-02-27 18:12:05 UTC
A fix for this issue was committed to CVS and will appear in autofs versions
4.1.3-231.8 and later.  Test packages can be found at:
  http://people.redhat.com/~jmoyer/


Comment 7 Barry Donahue 2008-06-12 14:34:59 UTC
Verified by RHTS job #23575

Comment 9 errata-xmlrpc 2008-07-24 19:51:47 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/RHBA-2008-0702.html