openldap/libraries/libldap
Ryan Tandy 63c82c0ed7 ITS#9069 Do not call gnutls_global_set_mutex()
Since GnuTLS moved to implicit initialization on library load, calling
this function deinitializes GnuTLS and then re-initializes it.

When GnuTLS uses /dev/urandom as an entropy source (getrandom() not
available, or older versions of GnuTLS), and the application closed all
file descriptors at startup, this could result in GnuTLS opening
/dev/urandom over one of the application's file descriptors when
re-initialized.

Additionally, the custom mutex functions are never reset, so if libldap
is unloaded (for example via dlclose()) after calling this, its code may
be unmapped and the application could crash when GnuTLS calls the mutex
functions.

On typical systems, GnuTLS system mutexes are probably the same as what
libldap uses anyway.
2019-09-12 13:16:30 -07:00
..
abandon.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
add.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
addentry.c Happy New Year! 2019-01-14 18:46:16 +00:00
apitest.c Happy New Year! 2019-01-14 18:46:16 +00:00
assertion.c ITS#8674 Return correct result from ldap_create_assertion_control_value 2019-06-12 16:57:13 +02:00
bind.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
cancel.c Happy New Year! 2019-01-14 18:46:16 +00:00
charray.c Happy New Year! 2019-01-14 18:46:16 +00:00
compare.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
controls.c Happy New Year! 2019-01-14 18:46:16 +00:00
cyrus.c ITS#7585 - Windows doesn't support LDAPI 2019-07-23 14:45:16 +00:00
dds.c Happy New Year! 2019-01-14 18:46:16 +00:00
delete.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
deref.c Happy New Year! 2019-01-14 18:46:16 +00:00
dnssrv.c Happy New Year! 2019-01-14 18:46:16 +00:00
dntest.c Happy New Year! 2019-01-14 18:46:16 +00:00
error.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
extended.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
fetch.c Happy New Year! 2019-01-14 18:46:16 +00:00
filter.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
free.c Happy New Year! 2019-01-14 18:46:16 +00:00
ftest.c Happy New Year! 2019-01-14 18:46:16 +00:00
getattr.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
getdn.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
getentry.c Happy New Year! 2019-01-14 18:46:16 +00:00
getvalues.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
gssapi.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
init.c ITS#7996 Use a separate mutex in ldap_int_initialize 2019-06-21 12:19:38 +02:00
lbase64.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
ldap-int.h Add LDAP_OPT_KEEPCONN option 2019-02-28 17:27:54 +00:00
ldap-tls.h Happy New Year! 2019-01-14 18:46:16 +00:00
ldap.conf Remove extrananous space in DN (in comment) 2007-02-19 23:39:01 +00:00
ldap_sync.c Happy New Year! 2019-01-14 18:46:16 +00:00
ldif.c Happy New Year! 2019-01-14 18:46:16 +00:00
ldifutil.c ITS#8966 add changelog support to syncrepl consumer 2019-01-29 18:51:43 -08:00
Makefile.in ITS#8983 Add draft Persistent Search 2019-02-25 15:19:33 +00:00
messages.c Happy New Year! 2019-01-14 18:46:16 +00:00
modify.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
modrdn.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
msctrl.c Happy New Year! 2019-01-14 18:46:16 +00:00
open.c ITS#8794 - Fix implicit declaration for ldap_is_ldapc_url 2019-06-17 17:25:29 +00:00
options.c Add LDAP_OPT_KEEPCONN option 2019-02-28 17:27:54 +00:00
os-ip.c Revert "use AI_ADDRCONFIG if defined in the environment" 2019-07-19 16:24:45 +00:00
os-local.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
pagectrl.c Happy New Year! 2019-01-14 18:46:16 +00:00
passwd.c Happy New Year! 2019-01-14 18:46:16 +00:00
ppolicy.c Happy New Year! 2019-01-14 18:46:16 +00:00
print.c Happy New Year! 2019-01-14 18:46:16 +00:00
psearchctrl.c ITS#8983 Add draft Persistent Search 2019-02-25 15:19:33 +00:00
references.c Happy New Year! 2019-01-14 18:46:16 +00:00
request.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
result.c Add LDAP_OPT_KEEPCONN option 2019-02-28 17:27:54 +00:00
sasl.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
sbind.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
schema.c Happy New Year! 2019-01-14 18:46:16 +00:00
search.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
sort.c Happy New Year! 2019-01-14 18:46:16 +00:00
sortctrl.c Happy New Year! 2019-01-14 18:46:16 +00:00
stctrl.c Happy New Year! 2019-01-14 18:46:16 +00:00
string.c Happy New Year! 2019-01-14 18:46:16 +00:00
t61.c Happy New Year! 2019-01-14 18:46:16 +00:00
test.c Happy New Year! 2019-01-14 18:46:16 +00:00
tls2.c ITS#7042 More to unsetting opts with an empty string 2019-06-12 11:50:14 +02:00
tls_g.c ITS#9069 Do not call gnutls_global_set_mutex() 2019-09-12 13:16:30 -07:00
tls_m.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
tls_o.c ITS#8980 Actually return the computed status 2019-03-19 16:46:03 +00:00
turn.c Happy New Year! 2019-01-14 18:46:16 +00:00
txn.c Happy New Year! 2019-01-14 18:46:16 +00:00
unbind.c ITS#8755 Do not close the default SockBuf a second time 2019-06-20 16:58:25 +02:00
url.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
urltest.c Happy New Year! 2019-01-14 18:46:16 +00:00
utf-8-conv.c Happy New Year! 2019-01-14 18:46:16 +00:00
utf-8.c Happy New Year! 2019-01-14 18:46:16 +00:00
util-int.c ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci 2019-02-15 16:51:53 +00:00
vc.c Happy New Year! 2019-01-14 18:46:16 +00:00
vlvctrl.c Happy New Year! 2019-01-14 18:46:16 +00:00
whoami.c Happy New Year! 2019-01-14 18:46:16 +00:00