git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501969a
)
Second part of fix for bug #8219 - SMB Panic from Windows 7 Client.
author
Jeremy Allison
<jra@samba.org>
Wed, 29 Jun 2011 16:56:47 +0000
(09:56 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 30 Jun 2011 17:35:57 +0000
(19:35 +0200)
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.
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index 8c75d0282438d75b248fc6bb10906d313eecc93f..0944e5715656ead3cd98a025ff902ba27a196d03 100644
(file)
--- 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;
}