[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE : Ldap_str2dn



Oups !!!

Pointer error on a free() ...
Sorry for the disturb.

Guy

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org 
> [mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of De 
> Leeuw Guy
> Sent: Wednesday, February 05, 2003 1:22 PM
> To: 'OpenLdap'
> Subject: Ldap_str2dn
> 
> 
> Hello,
> 
> The ldap_str2dn on openldap-2.1.12 return only the first rdn 
> of the dn. It is correct ? Here the local variables of a 
> debug on the ldap_bv2dn function, the tmpDN_ have the full 
>  exploded dn, but the return pointer newDN have only the first rdn.
> 
> -	newDN	0x01bddca8	ldap_ava * * * * *
> +		0x01bddcac	ldap_ava * * * *
> -	tmpDN_	0x0012e974	ldap_ava * * * [32]
> +	[0]	0x01bde068	ldap_ava * * *
> +	[1]	0x01bdda98	ldap_ava * * *
> +	[2]	0x01bddb80	ldap_ava * * *
> +	[3]	0x01bddc60	ldap_ava * * *
> +	[4]	0xcccccccc	ldap_ava * * *
> ....
> 
> 
> Guy
>