The branch, master has been updated
       via  ff93d58... s3: Fix crashes in the printing code
      from  23ad691... s3-dcerpc: Break memory hierarchy for shared structure

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


- Log -----------------------------------------------------------------
commit ff93d58b60458678436f2f983803705020537991
Author: Volker Lendecke <v...@samba.org>
Date:   Thu Jul 15 10:36:40 2010 +0200

    s3: Fix crashes in the printing code
    
    create_conn_struct did not create the conn->sconn!=NULL assumption we now
    depend on. Thanks to Andreas Schneider for testing!

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

Summary of changes:
 source3/smbd/msdfs.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index 433de8a..03de7e8 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -255,6 +255,9 @@ NTSTATUS create_conn_struct(TALLOC_CTX *ctx,
 
        conn->params->service = snum;
 
+       conn->sconn = smbd_server_conn;
+       conn->sconn->smb1.tcons.num_open += 1;
+
        if (server_info != NULL) {
                conn->server_info = copy_serverinfo(conn, server_info);
                if (conn->server_info == NULL) {


-- 
Samba Shared Repository

Reply via email to