summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-10 12:20:20 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-14 10:01:30 +0100
commit72cabbbe50a36986dde823f0ba60abf9052c535a (patch)
tree34985c5d8a2c0602f8df4014fc2b7343540ac432 /source3/smbd
parent7846bc613d46833aca0aae023e4f97c18dc1f92a (diff)
downloadsamba-72cabbbe50a36986dde823f0ba60abf9052c535a.tar.gz
samba-72cabbbe50a36986dde823f0ba60abf9052c535a.tar.bz2
samba-72cabbbe50a36986dde823f0ba60abf9052c535a.zip
s3:smb2_flush: outbody only needs 4 bytes
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_flush.c b/source3/smbd/smb2_flush.c
index 9b00eb2878..5f3c42a9d8 100644
--- a/source3/smbd/smb2_flush.c
+++ b/source3/smbd/smb2_flush.c
@@ -87,7 +87,7 @@ static void smbd_smb2_request_flush_done(struct tevent_req *subreq)
return;
}
- outbody = data_blob_talloc(req->out.vector, NULL, 0x10);
+ outbody = data_blob_talloc(req->out.vector, NULL, 0x04);
if (outbody.data == NULL) {
error = smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
if (!NT_STATUS_IS_OK(error)) {