The branch, master has been updated
       via  81b965a s3-auth: fix uninitialized server_info
      from  456aee8 s3-lsa: Add conversion for auth info structs

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


- Log -----------------------------------------------------------------
commit 81b965af892fb279b71ebdc8a9541d2f157368c6
Author: Sumit Bose <sb...@redhat.com>
Date:   Mon Sep 12 15:50:31 2011 +0200

    s3-auth: fix uninitialized server_info
    
    Signed-off-by: Günther Deschner <g...@samba.org>
    
    Autobuild-User: Günther Deschner <g...@samba.org>
    Autobuild-Date: Mon Sep 12 17:44:46 CEST 2011 on sn-devel-104

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

Summary of changes:
 source3/auth/user_krb5.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/user_krb5.c b/source3/auth/user_krb5.c
index 0cb80c8..489080e 100644
--- a/source3/auth/user_krb5.c
+++ b/source3/auth/user_krb5.c
@@ -242,6 +242,10 @@ NTSTATUS make_session_info_krb5(TALLOC_CTX *mem_ctx,
                                   "make_server_info_pw\n", username));
                        status = make_server_info_pw(&tmp, username, pw);
                }
+
+               /* Steal tmp server info into the server_info pointer. */
+               server_info = talloc_move(mem_ctx, &tmp);
+
                TALLOC_FREE(sampass);
 
                if (!NT_STATUS_IS_OK(status)) {


-- 
Samba Shared Repository

Reply via email to