s4:ntvfs/ipc: don't echo back the smb2 ioctl input_buffer
authorStefan Metzmacher <metze@samba.org>
Thu, 26 Apr 2012 10:05:24 +0000 (12:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 27 Apr 2012 06:31:37 +0000 (08:31 +0200)
metze

source4/ntvfs/ipc/vfs_ipc.c

index a1651b0f02df9cf33d729579fdec1f7b29c4f809..de4bf9f3597c19effaea7433eb5309f9c9c1b058 100644 (file)
@@ -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);