mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:smbd/smb2_getinfo add a debug message
like the ones in the other calls that check for max sizes Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
f94d3d17e8
commit
1bd3c0aefb
@ -91,9 +91,17 @@ NTSTATUS smbd_smb2_request_process_getinfo(struct smbd_smb2_request *req)
|
||||
in_input_buffer.length = in_input_buffer_length;
|
||||
|
||||
if (in_input_buffer.length > req->sconn->smb2.max_trans) {
|
||||
DEBUG(2,("smbd_smb2_request_process_getinfo: "
|
||||
"client ignored max trans: %s: 0x%08X: 0x%08X\n",
|
||||
__location__, in_input_buffer.length,
|
||||
req->sconn->smb2.max_trans));
|
||||
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
|
||||
}
|
||||
if (in_output_buffer_length > req->sconn->smb2.max_trans) {
|
||||
DEBUG(2,("smbd_smb2_request_process_getinfo: "
|
||||
"client ignored max trans: %s: 0x%08X: 0x%08X\n",
|
||||
__location__, in_output_buffer_length,
|
||||
req->sconn->smb2.max_trans));
|
||||
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user