mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:smb2_negprot: make use of smbd_smb2_generate_outbody()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
aa70bf5fdc
commit
59c185bf54
@ -320,7 +320,7 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
|
||||
return smbd_smb2_request_error(req, status);
|
||||
}
|
||||
|
||||
outbody = data_blob_talloc(req->out.vector, NULL, 0x40);
|
||||
outbody = smbd_smb2_generate_outbody(req, 0x40);
|
||||
if (outbody.data == NULL) {
|
||||
return smbd_smb2_request_error(req, NT_STATUS_NO_MEMORY);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user