[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed Jun 29 12:10:02 MDT 2011


The branch, master has been updated
       via  5882c75 Second part of fix for bug #8219 - SMB Panic from Windows 7 Client.
      from  8b04345 s4-param Handle BOOLREV parameters

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


- Log -----------------------------------------------------------------
commit 5882c75d40c7c40e3b54f8f711c15056706fa154
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Jun 29 09:56:47 2011 -0700

    Second part of fix for bug #8219 - SMB Panic from Windows 7 Client.
    
    Pass in the correct vector to the signing algorithm in an async
    response - we must start with vector[1] which has the SMB2_HDR_BODY
    length, not vector[0] which is the 4 byte packet length. Also
    note we're passing in 2 vectors not 3.
    
    Metze please review.
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Wed Jun 29 20:09:21 CEST 2011 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 24953ed..49e748b 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -923,7 +923,7 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req,
 
 	if (req->do_signing) {
 		status = smb2_signing_sign_pdu(req->session->session_key,
-					state->vector, 3);
+					&state->vector[1], 2);
 		if (!NT_STATUS_IS_OK(status)) {
 			return status;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list