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

RE: memery leak when handle referral (ITS#2670)



Thanks a lot guys!

-----Original Message-----
From: maxchern@yahoo.com [mailto:maxchern@yahoo.com]
Sent: July 31, 2003 1:33 PM
To: openldap-its@OpenLDAP.org
Subject: Re: memery leak when handle referral (ITS#2670)



On Solaris 2.8 libsocket has a bug in freeaddrinfo()
which leaks 16 byes. The patch id for this bug is 
111327-05 which depends on patch 109326-10.

--- sli@rim.net wrote:
> Full_Name: Su Li
> Version: 2.1.8
> OS: Solaris 8
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (206.51.26.109)
> 
> 
> Memory leak on the following line when handling
> referrals:
> 
> ldap_connect_to_host [os-ip.c:360]
> 
> if ( ( err = getaddrinfo(host, serv, &hints, &res) )
> ) {
>                         osip_debug(ld,
> "ldap_connect_to_host: getaddrinfo
> failed
> : %s\n",
>                                
> AC_GAI_STRERROR(err), 0, 0);
>                         return -1;
> }


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com