summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-04-26 12:05:24 +0200
committerStefan Metzmacher <metze@samba.org>2012-04-27 08:31:37 +0200
commit2ccf5f67a55d8ccc4a3120fe036174d5d66fba24 (patch)
tree7fbdbd383e5568274f1cd8dd96d34195afb2370d
parent54a6d7b3b81782bba504e50905a2d0b437b0cae1 (diff)
downloadsamba-2ccf5f67a55d8ccc4a3120fe036174d5d66fba24.tar.gz
samba-2ccf5f67a55d8ccc4a3120fe036174d5d66fba24.tar.bz2
samba-2ccf5f67a55d8ccc4a3120fe036174d5d66fba24.zip
s4:ntvfs/ipc: don't echo back the smb2 ioctl input_buffer
metze
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index a1651b0f02..de4bf9f359 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -1173,7 +1173,7 @@ static NTSTATUS ipc_ioctl_smb2(struct ntvfs_module_context *ntvfs,
io->smb2.out.function = io->smb2.in.function;
io->smb2.out.unknown2 = 0;
io->smb2.out.unknown3 = 0;
- io->smb2.out.in = io->smb2.in.out;
+ io->smb2.out.in = data_blob_null;
io->smb2.out.out = data_blob_talloc(req, NULL, io->smb2.in.max_response_size);
NT_STATUS_HAVE_NO_MEMORY(io->smb2.out.out.data);