From: Quanah Gibson-Mount Date: Sun, 12 Dec 2010 03:12:07 +0000 (+0000) Subject: ITS#6673 X-Git-Tag: OPENLDAP_REL_ENG_2_4_24~249 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=219aee02f3d29720f95269c3b1287299fbe68338;p=openldap ITS#6673 --- diff --git a/CHANGES b/CHANGES index 3a9e211cbd..4f17948371 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log OpenLDAP 2.4.24 Engineering Fixed liblber to not close invalid sockets (ITS#6585) Fixed libldap dnssrv port format specifier (ITS#6644) + Fixed libldap GnuTLS hang on socket close (ITS#6673) Fixed libldap sasl partial write handling (ITS#6639) Fixed libldap url parsing with NULL host (ITS#6653) Fixed ldapsearch segfault with deref (ITS#6638) diff --git a/libraries/libldap/tls_g.c b/libraries/libldap/tls_g.c index f49147a36c..f5076cdb99 100644 --- a/libraries/libldap/tls_g.c +++ b/libraries/libldap/tls_g.c @@ -967,7 +967,7 @@ tlsg_sb_close( Sockbuf_IO_Desc *sbiod ) assert( sbiod->sbiod_pvt != NULL ); p = (struct tls_data *)sbiod->sbiod_pvt; - gnutls_bye ( p->session->session, GNUTLS_SHUT_RDWR ); + gnutls_bye ( p->session->session, GNUTLS_SHUT_WR ); return 0; }