[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-839-gf224089

Stefan Metzmacher metze at samba.org
Wed Aug 5 02:11:32 MDT 2009


The branch, master has been updated
       via  f22408913846b2510352c60e6476b2a693e1a7ee (commit)
      from  e2ed5029e97671b307af06c9fff1d4f0442553a2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f22408913846b2510352c60e6476b2a693e1a7ee
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Aug 5 10:05:56 2009 +0200

    s4:ldap_server: make sure we shutdown the tls socket before stream_terminate_connection() removes the fd event
    
    This fixes a crash bug where tls_destructor() relies on the fd event still being there.
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source4/ldap_server/ldap_server.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index 72431e9..b119620 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -51,6 +51,7 @@ void ldapsrv_terminate_connection(struct ldapsrv_connection *conn,
 {
 	packet_recv_disable(conn->packet);
 	TALLOC_FREE(conn->packet);
+	TALLOC_FREE(conn->sockets.tls);
 	stream_terminate_connection(conn->connection, reason);
 }
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list