From 82b9fa3a199031217bd98d846f2386b556911fa2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 5 May 2011 12:17:41 +0200 Subject: s3: Fix dup_smb2_vec3 Metze, Jeremy, please check! Thanks, Volker Autobuild-User: Volker Lendecke Autobuild-Date: Thu May 5 13:39:40 CEST 2011 on sn-devel-104 --- source3/smbd/smb2_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 { -- cgit