git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323c744
)
s3: Fix dup_smb2_vec3
author
Volker Lendecke
<vl@samba.org>
Thu, 5 May 2011 10:17:41 +0000
(12:17 +0200)
committer
Volker Lendecke
<vlendec@samba.org>
Thu, 5 May 2011 11:39:40 +0000
(13:39 +0200)
Metze, Jeremy, please check!
Thanks,
Volker
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu May 5 13:39:40 CEST 2011 on sn-devel-104
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index ae15bd1a34fe715ce23ba3338122f82bf030c104..7cbe90a77396792aa2925e940c67902bdff52087 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-608,7
+608,7
@@
static bool dup_smb2_vec3(TALLOC_CTX *ctx,
srcvec[1].iov_base ==
((uint8_t *)srcvec[0].iov_base) +
SMB2_HDR_BODY) {
- outvec[1].iov_base = ((uint8_t *)outvec[
1
].iov_base) +
+ outvec[1].iov_base = ((uint8_t *)outvec[
0
].iov_base) +
SMB2_HDR_BODY;
outvec[1].iov_len = 8;
} else {