mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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
This commit is contained in:
parent
7846bc613d
commit
72cabbbe50
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user