Linking against libldap_r instead of libldap?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux