summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-05 12:17:41 +0200
committerVolker Lendecke <vlendec@samba.org>2011-05-05 13:39:40 +0200
commit82b9fa3a199031217bd98d846f2386b556911fa2 (patch)
tree29084e503a7629e77ab52181aac973703b9be57b /source3
parent323c7445713d17989452b99bbb541248bb2388eb (diff)
downloadsamba-82b9fa3a199031217bd98d846f2386b556911fa2.tar.gz
samba-82b9fa3a199031217bd98d846f2386b556911fa2.tar.xz
samba-82b9fa3a199031217bd98d846f2386b556911fa2.zip
s3: Fix dup_smb2_vec3
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
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index ae15bd1a34..7cbe90a773 100644
--- 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 {