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

libldap_r thread-safety problems


I have thread-safety problems with libldap_r. My program uses libcurl to
access a LDAP URL. When I attempt to fetch LDAP URL from multiple
threads at once, I crash.

I suspect there could be thread-safety issues with libldap_r. for
instance, a nm shows it references gethostbyname, and not gethostname_r.
Does it has any chance to be thread-safe if it uses gethostbyname?

Emmanuel Dreyfus