[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Mon Mar 15 17:02:29 MDT 2010


The branch, master has been updated
       via  3b73698... s3: Fix an uninitialized variable read
      from  c35c380... Remove the bool admin_user from conn struct. We no longer look at this to make access decisions.

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


- Log -----------------------------------------------------------------
commit 3b736987153da48918229ab940f8ac89017ae79f
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Mar 14 21:18:34 2010 +0100

    s3: Fix an uninitialized variable read
    
    Found by Laurent Gaffie <laurent.gaffie at gmail.com>
    
    Thanks for that,
    
    Volker

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index cad2dd3..8c0317a 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -1214,7 +1214,7 @@ static void reply_sesssetup_and_X_spnego(struct smb_request *req)
 	file_save("negotiate.dat", blob1.data, blob1.length);
 #endif
 
-	p2 = (char *)req->buf + data_blob_len;
+	p2 = (char *)req->buf + blob1.length;
 
 	p2 += srvstr_pull_req_talloc(talloc_tos(), req, &tmp, p2,
 				     STR_TERMINATE);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list