Bug 145880

Summary: slapd crashes when dereferencing an alias
Product: [Fedora] Fedora Reporter: Frans King <frans_j_king>
Component: openldapAssignee: Jan Safranek <jsafrane>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3CC: mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-24 14:04:14 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
slapd -d 5 output none

Description Frans King 2005-01-23 00:14:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; 
SV1; .NET CLR 1.1.4322)

Description of problem:
slapd crashes with "*** glibc detected *** double free or corruption 
(fasttop): 0x09fc0150 ***" when trying to dereference an alias:

e.g. 

dn: cn=xxx,ou=Mail,ou=Services,dc=f333,dc=net
objectClass: alias
objectClass: extensibleObject
aliasedObjectName: cn=xxx,ou=People,dc=f333,dc=net
cn: xxx

I can click on the alias fine the first time and it is dereferenced 
correctly the first time, but a refresh causes slapd to crash.

(see attached output from slapd -d 5)

Version-Release number of selected component (if applicable):
2.2.13-2

How reproducible:
Always

Steps to Reproduce:
1. Create an alias
2. Turn on dereferencing in any ldap query tool (JExplorer/ or 
saslauthd)
3. View the alias (should be dereferenced correctly)
4. View it again (refresh)

Actual Results:  slapd crashes with ouput varying from glibc detected 
*** double free or corruption to malloc and ch_malloc errors

Expected Results:  slapd should not crash

Additional info:

Comment 1 Frans King 2005-01-23 00:16:43 UTC
Created attachment 110097 [details]
slapd -d 5 output

Comment 2 Frans King 2005-01-23 01:42:51 UTC
The same alias works with the BDB backend. LDBM does not work though.

Comment 3 Matthew Miller 2006-07-10 20:30:22 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!


Comment 4 Jan Safranek 2007-05-24 14:04:14 UTC

*** This bug has been marked as a duplicate of 156063 ***