openldap/libraries
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
..
liblber ITS#8731 Rework logging 2019-02-15 16:51:53 +00:00
libldap ITS#9069 Do not call gnutls_global_set_mutex() 2019-09-12 13:16:30 -07:00
libldap_r ITS#8983 Add draft Persistent Search 2019-02-25 15:19:33 +00:00
liblmdb Merge remote-tracking branch 'origin/mdb.RE/0.9' 2019-04-18 00:09:09 +00:00
liblunicode Silence compiler warnings 2019-02-19 10:28:08 +00:00
liblutil Happy New Year! 2019-01-14 18:46:16 +00:00
librewrite Silence compiler warnings 2019-02-19 10:28:08 +00:00
Makefile.in Happy New Year! 2019-01-14 18:46:16 +00:00