git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d4c0e5
)
s3: Fix dup_smb2_vec3
author
Volker Lendecke
<vl@samba.org>
Thu, 5 May 2011 10:17:41 +0000
(12:17 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Sun, 15 May 2011 18:17:41 +0000
(20:17 +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
(cherry picked from commit
82b9fa3a199031217bd98d846f2386b556911fa2
)
(cherry picked from commit
da630ba1495ee9adfc62a33e7214a41a8ebdf541
)
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 {