[SCM] Samba Shared Repository - branch master updated

Simo Sorce idra at samba.org
Mon Jul 12 13:17:32 MDT 2010


The branch, master has been updated
       via  1b51ddd... s3-dcerpc: Fix miscalculation of buffer start address
      from  77a3858... tsocket: Fix some unreachable code

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


- Log -----------------------------------------------------------------
commit 1b51ddd37085e6dcc2fbe5056e902270d1efb076
Author: Simo Sorce <idra at samba.org>
Date:   Mon Jul 12 15:09:42 2010 -0400

    s3-dcerpc: Fix miscalculation of buffer start address
    
    This was breaking schannel

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

Summary of changes:
 source3/rpc_client/cli_pipe.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index b9b04b6..aea6b36 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1004,7 +1004,9 @@ static NTSTATUS cli_pipe_verify_schannel(struct rpc_pipe_client *cli,
 		return NT_STATUS_BUFFER_TOO_SMALL;
 	}
 
-	blob = data_blob_const(prs_data_p(current_pdu) + prs_offset(current_pdu), auth_len);
+	blob = data_blob_const(prs_data_p(current_pdu) +
+				prs_offset(current_pdu) +
+				RPC_HDR_AUTH_LEN, auth_len);
 
 	if (DEBUGLEVEL >= 10) {
 		dump_NL_AUTH_SIGNATURE(talloc_tos(), &blob);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list