All of lore.kernel.org
 help / color / mirror / Atom feed
* Linking against libldap_r instead of libldap?
@ 2013-06-28  1:42 Leonardo Chiquitto
  2013-06-28  6:31 ` Ian Kent
  0 siblings, 1 reply; 4+ messages in thread
From: Leonardo Chiquitto @ 2013-06-28  1:42 UTC (permalink / raw)
  To: autofs

Hi,

I'm investigating one segmentation fault report (multiple occurrences)
in automount where the OpenSSL context (using LDAP with TLS) is
clearly corrupted. Reading OpenSSL documentation I found that the
the library needs to be correctly initialized in order to run in a multi-
threaded environment. I also found that *only* the reentrant build of
the OpenLDAP libraries (libldap_r) initialize openssl for multi-threading.

By default (since commit 04dfd15590a) automount is linked against
libldap (non-reentrant), but I failed to find the reason behind the change.
Could you help me understand why it shouldn't be linked against
libldap_r?

Thanks,
Leonardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-07-26 17:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28  1:42 Linking against libldap_r instead of libldap? Leonardo Chiquitto
2013-06-28  6:31 ` Ian Kent
2013-06-28  7:26   ` Ian Kent
2013-07-26 17:39     ` Leonardo Chiquitto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.