diff options
author | Jeremy Allison <jra@samba.org> | 2011-06-29 09:56:47 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-06-29 20:09:21 +0200 |
commit | 5882c75d40c7c40e3b54f8f711c15056706fa154 (patch) | |
tree | 466635a8e00760074615bbdb9b8c2ec977ced3f5 | |
parent | 8b04345a0edc0131f6d8449b672278b31bd4b734 (diff) | |
download | samba-5882c75d40c7c40e3b54f8f711c15056706fa154.tar.gz samba-5882c75d40c7c40e3b54f8f711c15056706fa154.tar.bz2 samba-5882c75d40c7c40e3b54f8f711c15056706fa154.zip |
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@samba.org>
Autobuild-Date: Wed Jun 29 20:09:21 CEST 2011 on sn-devel-104
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 24953edb5e..49e748bb3c 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; } |